| Index: chrome/browser/chromeos/extensions/networking_private_event_router_factory.h
|
| diff --git a/chrome/browser/chromeos/extensions/networking_private_event_router_factory.h b/chrome/browser/chromeos/extensions/networking_private_event_router_factory.h
|
| index 93eba041a80fb43b68091272a9d6088980cce9fe..ecc511f0d135a48442717c7a8a0a4ffea162b9a9 100644
|
| --- a/chrome/browser/chromeos/extensions/networking_private_event_router_factory.h
|
| +++ b/chrome/browser/chromeos/extensions/networking_private_event_router_factory.h
|
| @@ -14,10 +14,10 @@ namespace chromeos {
|
|
|
| class NetworkingPrivateEventRouter;
|
|
|
| -// This is a factory class used by the ProfileDependencyManager to instantiate
|
| +// This is a factory class used by the BrowserContextDependencyManager to instantiate
|
| // the networking event router per profile (since the extension event router is
|
| // per profile).
|
| -class NetworkingPrivateEventRouterFactory : public ProfileKeyedServiceFactory {
|
| +class NetworkingPrivateEventRouterFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| // Returns the NetworkingPrivateEventRouter for |profile|, creating it if
|
| // it is not yet created.
|
| @@ -27,10 +27,10 @@ class NetworkingPrivateEventRouterFactory : public ProfileKeyedServiceFactory {
|
| static NetworkingPrivateEventRouterFactory* GetInstance();
|
|
|
| protected:
|
| - // ProfileKeyedBaseFactory overrides:
|
| + // BrowserContextKeyedBaseFactory overrides:
|
| virtual content::BrowserContext* GetBrowserContextToUse(
|
| content::BrowserContext* context) const OVERRIDE;
|
| - virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
|
| + virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
|
| virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
|
|
|
| private:
|
| @@ -39,8 +39,8 @@ class NetworkingPrivateEventRouterFactory : public ProfileKeyedServiceFactory {
|
| NetworkingPrivateEventRouterFactory();
|
| virtual ~NetworkingPrivateEventRouterFactory();
|
|
|
| - // ProfileKeyedServiceFactory:
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory:
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateEventRouterFactory);
|
|
|