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

Unified Diff: chrome/browser/managed_mode/managed_mode.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/managed_mode/managed_mode.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/managed_mode/managed_mode.h
diff --git a/chrome/browser/managed_mode/managed_mode.h b/chrome/browser/managed_mode/managed_mode.h
index 37d53ae651c50ada9434c7c30a56a6e4ee9cc5c2..1c8eba9228e4711ab37c2a9c968e7ab78f9b5817 100644
--- a/chrome/browser/managed_mode/managed_mode.h
+++ b/chrome/browser/managed_mode/managed_mode.h
@@ -24,7 +24,8 @@ struct DefaultSingletonTraits;
class ManagedModeSiteList;
class ManagedModeURLFilter;
class PrefChangeRegistrar;
-class PrefService;
+class PrefServiceSimple;
+class PrefServiceSyncable;
class Profile;
// Managed mode allows one person to manage the Chrome experience for another
@@ -38,8 +39,8 @@ class ManagedMode : public chrome::BrowserListObserver,
public:
typedef base::Callback<void(bool)> EnterCallback;
- static void RegisterPrefs(PrefService* prefs);
- static void RegisterUserPrefs(PrefService* prefs);
+ static void RegisterPrefs(PrefServiceSimple* prefs);
+ static void RegisterUserPrefs(PrefServiceSyncable* prefs);
// Initializes the singleton, setting the managed_profile_. Must be called
// after g_browser_process and the LocalState have been created.
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/managed_mode/managed_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698