| Index: chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h
|
| diff --git a/chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h b/chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h
|
| index 85d38fb1ff95a3d7e16de387ac9b6bcd3d732a17..e518f34dec7194c35c8df31ebeb3065fba01aec3 100644
|
| --- a/chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h
|
| +++ b/chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h
|
| @@ -8,7 +8,9 @@
|
| #include "base/memory/singleton.h"
|
| #include "components/keyed_service/content/browser_context_keyed_service_factory.h"
|
|
|
| -class Profile;
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
|
|
| namespace extensions {
|
|
|
| @@ -17,7 +19,8 @@ class NetworkingPrivateServiceClient;
|
| class NetworkingPrivateServiceClientFactory
|
| : public BrowserContextKeyedServiceFactory {
|
| public:
|
| - static NetworkingPrivateServiceClient* GetForProfile(Profile* profile);
|
| + static NetworkingPrivateServiceClient* GetForBrowserContext(
|
| + content::BrowserContext* browser_context);
|
|
|
| static NetworkingPrivateServiceClientFactory* GetInstance();
|
|
|
| @@ -29,7 +32,7 @@ class NetworkingPrivateServiceClientFactory
|
|
|
| // BrowserContextKeyedServiceFactory:
|
| virtual KeyedService* BuildServiceInstanceFor(
|
| - content::BrowserContext* profile) const OVERRIDE;
|
| + content::BrowserContext* browser_context) const OVERRIDE;
|
| virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
|
| virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
|
|
|
|
|