| Index: chrome/browser/extensions/api/mdns/mdns_api.h
|
| diff --git a/chrome/browser/extensions/api/mdns/mdns_api.h b/chrome/browser/extensions/api/mdns/mdns_api.h
|
| index dabf325cc77e2d8e6a2f1b629b19a8284bb95eba..ba8f34f69cfd9716efb88deb0843f5388f89b09a 100644
|
| --- a/chrome/browser/extensions/api/mdns/mdns_api.h
|
| +++ b/chrome/browser/extensions/api/mdns/mdns_api.h
|
| @@ -14,6 +14,10 @@
|
| #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
|
| #include "extensions/browser/event_router.h"
|
|
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| namespace extensions {
|
|
|
| class DnsSdRegistry;
|
| @@ -26,10 +30,10 @@ class MDnsAPI : public ProfileKeyedAPI,
|
| public EventRouter::Observer,
|
| public DnsSdRegistry::DnsSdObserver {
|
| public:
|
| - explicit MDnsAPI(Profile* profile);
|
| + explicit MDnsAPI(content::BrowserContext* context);
|
| virtual ~MDnsAPI();
|
|
|
| - static MDnsAPI* Get(Profile* profile);
|
| + static MDnsAPI* Get(content::BrowserContext* context);
|
|
|
| // ProfileKeyedAPI implementation.
|
| static ProfileKeyedAPIFactory<MDnsAPI>* GetFactoryInstance();
|
| @@ -66,7 +70,7 @@ class MDnsAPI : public ProfileKeyedAPI,
|
|
|
| // Ensure methods are only called on UI thread.
|
| base::ThreadChecker thread_checker_;
|
| - Profile* const profile_;
|
| + content::BrowserContext* const browser_context_;
|
| // Lazily created on first access and destroyed with this API class.
|
| scoped_ptr<DnsSdRegistry> dns_sd_registry_;
|
| // Current set of service types registered with the registry.
|
|
|