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

Unified Diff: chrome/browser/managed_mode/managed_user_service_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: rebase & style 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/managed_mode/managed_user_service_factory.h
diff --git a/chrome/browser/managed_mode/managed_user_service_factory.h b/chrome/browser/managed_mode/managed_user_service_factory.h
index f29d01df0879ae5318f218e86d52e13507155c57..b4fbe967c9a7bac6c50c09bb0e41178872174a3a 100644
--- a/chrome/browser/managed_mode/managed_user_service_factory.h
+++ b/chrome/browser/managed_mode/managed_user_service_factory.h
@@ -11,14 +11,14 @@
class ManagedUserService;
class Profile;
-class ManagedUserServiceFactory : public ProfileKeyedServiceFactory {
+class ManagedUserServiceFactory : public BrowserContextKeyedServiceFactory {
public:
static ManagedUserService* GetForProfile(Profile* profile);
static ManagedUserServiceFactory* GetInstance();
// Used to create instances for testing.
- static ProfileKeyedService* BuildInstanceFor(Profile* profile);
+ static BrowserContextKeyedService* BuildInstanceFor(Profile* profile);
private:
friend struct DefaultSingletonTraits<ManagedUserServiceFactory>;
@@ -26,10 +26,10 @@ class ManagedUserServiceFactory : public ProfileKeyedServiceFactory {
ManagedUserServiceFactory();
virtual ~ManagedUserServiceFactory();
- // ProfileKeyedServiceFactory:
+ // BrowserContextKeyedServiceFactory:
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698