MDnsAPI 33 chrome/browser/extensions/api/mdns/mdns_api.cc MDnsAPI::MDnsAPI(content::BrowserContext* context) : browser_context_(context) { MDnsAPI 39 chrome/browser/extensions/api/mdns/mdns_api.cc MDnsAPI::~MDnsAPI() { MDnsAPI 46 chrome/browser/extensions/api/mdns/mdns_api.cc MDnsAPI* MDnsAPI::Get(content::BrowserContext* context) { MDnsAPI 47 chrome/browser/extensions/api/mdns/mdns_api.cc return BrowserContextKeyedAPIFactory<MDnsAPI>::Get(context); MDnsAPI 50 chrome/browser/extensions/api/mdns/mdns_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<MDnsAPI> > g_factory = MDnsAPI 54 chrome/browser/extensions/api/mdns/mdns_api.cc BrowserContextKeyedAPIFactory<MDnsAPI>* MDnsAPI::GetFactoryInstance() { MDnsAPI 58 chrome/browser/extensions/api/mdns/mdns_api.cc void MDnsAPI::SetDnsSdRegistryForTesting( MDnsAPI 63 chrome/browser/extensions/api/mdns/mdns_api.cc DnsSdRegistry* MDnsAPI::dns_sd_registry() { MDnsAPI 72 chrome/browser/extensions/api/mdns/mdns_api.cc void MDnsAPI::OnListenerAdded(const EventListenerInfo& details) { MDnsAPI 77 chrome/browser/extensions/api/mdns/mdns_api.cc void MDnsAPI::OnListenerRemoved(const EventListenerInfo& details) { MDnsAPI 82 chrome/browser/extensions/api/mdns/mdns_api.cc void MDnsAPI::UpdateMDnsListeners(const EventListenerInfo& details) { MDnsAPI 126 chrome/browser/extensions/api/mdns/mdns_api.cc void MDnsAPI::OnDnsSdEvent(const std::string& service_type, MDnsAPI 29 chrome/browser/extensions/api/mdns/mdns_api.h class MDnsAPI : public BrowserContextKeyedAPI, MDnsAPI 33 chrome/browser/extensions/api/mdns/mdns_api.h explicit MDnsAPI(content::BrowserContext* context); MDnsAPI 34 chrome/browser/extensions/api/mdns/mdns_api.h virtual ~MDnsAPI(); MDnsAPI 36 chrome/browser/extensions/api/mdns/mdns_api.h static MDnsAPI* Get(content::BrowserContext* context); MDnsAPI 39 chrome/browser/extensions/api/mdns/mdns_api.h static BrowserContextKeyedAPIFactory<MDnsAPI>* GetFactoryInstance(); MDnsAPI 49 chrome/browser/extensions/api/mdns/mdns_api.h friend class BrowserContextKeyedAPIFactory<MDnsAPI>; MDnsAPI 79 chrome/browser/extensions/api/mdns/mdns_api.h DISALLOW_COPY_AND_ASSIGN(MDnsAPI); MDnsAPI 23 chrome/browser/extensions/api/mdns/mdns_apitest.cc explicit MockDnsSdRegistry(extensions::MDnsAPI* api) : api_(api) {} MDnsAPI 52 chrome/browser/extensions/api/mdns/mdns_apitest.cc extensions::MDnsAPI* api = extensions::MDnsAPI::Get(profile()); MDnsAPI 123 chrome/browser/extensions/browser_context_keyed_service_factories.cc extensions::MDnsAPI::GetFactoryInstance();