Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3499)

Unified Diff: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698