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

Unified Diff: chrome/browser/profiles/profile_info_cache.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, use pure builder pattern. 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/profiles/profile_info_cache.h
diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h
index 5f6e8da0780a4af312ab5260fe0e429ffcdc86e9..8010ac27a194358c011db29653a39f7b0c4269b2 100644
--- a/chrome/browser/profiles/profile_info_cache.h
+++ b/chrome/browser/profiles/profile_info_cache.h
@@ -27,6 +27,7 @@ class DictionaryValue;
}
class PrefService;
+class PrefServiceSimple;
// This class saves various information about profiles to local preferences.
// This cache can be used to display a list of profiles without having to
@@ -126,7 +127,7 @@ class ProfileInfoCache : public ProfileInfoInterface,
static std::vector<string16> GetProfileNames();
// Register cache related preferences in Local State.
- static void RegisterPrefs(PrefService* prefs);
+ static void RegisterPrefs(PrefServiceSimple* prefs);
void AddObserver(ProfileInfoCacheObserver* obs);
void RemoveObserver(ProfileInfoCacheObserver* obs);

Powered by Google App Engine
This is Rietveld 408576698