| Index: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h
|
| index 1fb334570e31646020a0a2b4ba77eb044fd701fc..9f3d703af63a0dc74b96242dca1e8bc5e9a74dff 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h
|
| @@ -11,7 +11,7 @@
|
| class FileBrowserPrivateAPI;
|
| class Profile;
|
|
|
| -class FileBrowserPrivateAPIFactory : public ProfileKeyedServiceFactory {
|
| +class FileBrowserPrivateAPIFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| // Returns the FileBrowserPrivateAPI for |profile|, creating it if
|
| // it is not yet created.
|
| @@ -21,10 +21,10 @@ class FileBrowserPrivateAPIFactory : public ProfileKeyedServiceFactory {
|
| static FileBrowserPrivateAPIFactory* 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:
|
| @@ -33,8 +33,8 @@ class FileBrowserPrivateAPIFactory : public ProfileKeyedServiceFactory {
|
| FileBrowserPrivateAPIFactory();
|
| virtual ~FileBrowserPrivateAPIFactory();
|
|
|
| - // ProfileKeyedServiceFactory:
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory:
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
| };
|
|
|
|
|