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

Unified Diff: chrome/browser/managed_mode/managed_user_service.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.h
diff --git a/chrome/browser/managed_mode/managed_user_service.h b/chrome/browser/managed_mode/managed_user_service.h
index c7c09df15aeeb4bc48bf2862b484aedb6a6d4436..4b9628cb8e3edb8f3774eb5b35759d0f98895f4a 100644
--- a/chrome/browser/managed_mode/managed_user_service.h
+++ b/chrome/browser/managed_mode/managed_user_service.h
@@ -33,7 +33,7 @@ class PrefRegistrySyncable;
// This class handles all the information related to a given managed profile
// (e.g. the installed content packs, the default URL filtering behavior, or
// manual whitelist/blacklist overrides).
-class ManagedUserService : public ProfileKeyedService,
+class ManagedUserService : public BrowserContextKeyedService,
public extensions::ManagementPolicy::Provider,
public content::NotificationObserver {
public:
@@ -206,7 +206,7 @@ class ManagedUserService : public ProfileKeyedService,
base::WeakPtrFactory<ManagedUserService> weak_ptr_factory_;
- // Owns us via the ProfileKeyedService mechanism.
+ // Owns us via the BrowserContextKeyedService mechanism.
Profile* profile_;
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698