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

Unified Diff: chrome/browser/signin/signin_manager_factory.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
Index: chrome/browser/signin/signin_manager_factory.h
diff --git a/chrome/browser/signin/signin_manager_factory.h b/chrome/browser/signin/signin_manager_factory.h
index bccc1c1089a279655c079923d60774e74732750a..c3c760299acf48dcf3ff4b175a76794e453a98d6 100644
--- a/chrome/browser/signin/signin_manager_factory.h
+++ b/chrome/browser/signin/signin_manager_factory.h
@@ -9,6 +9,8 @@
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
class SigninManager;
+class PrefServiceSimple;
+class PrefServiceSyncable;
class Profile;
// Singleton that owns all SigninManagers and associates them with
@@ -30,10 +32,10 @@ class SigninManagerFactory : public ProfileKeyedServiceFactory {
static SigninManagerFactory* GetInstance();
// Implementation of ProfileKeyedServiceFactory (public so tests can call it).
- virtual void RegisterUserPrefs(PrefService* user_prefs) OVERRIDE;
+ virtual void RegisterUserPrefs(PrefServiceSyncable* user_prefs) OVERRIDE;
// Registers the browser-global prefs used by SigninManager.
- static void RegisterPrefs(PrefService* local_state);
+ static void RegisterPrefs(PrefServiceSimple* local_state);
private:
friend struct DefaultSingletonTraits<SigninManagerFactory>;
« no previous file with comments | « chrome/browser/signin/about_signin_internals_factory.cc ('k') | chrome/browser/signin/signin_manager_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698