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

Unified Diff: chrome/browser/profiles/gaia_info_update_service.cc

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/profiles/gaia_info_update_service.cc
diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc
index bf7e92576d0f456eb25cba2017131fdd0bdb8c08..c7229fc9ea7736aac4b11c390c5343933f689d68 100644
--- a/chrome/browser/profiles/gaia_info_update_service.cc
+++ b/chrome/browser/profiles/gaia_info_update_service.cc
@@ -78,11 +78,13 @@ bool GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(Profile* profile) {
}
// static
-void GAIAInfoUpdateService::RegisterUserPrefs(PrefServiceBase* prefs) {
- prefs->RegisterInt64Pref(
- prefs::kProfileGAIAInfoUpdateTime, 0, PrefServiceBase::UNSYNCABLE_PREF);
- prefs->RegisterStringPref(
- prefs::kProfileGAIAInfoPictureURL, "", PrefServiceBase::UNSYNCABLE_PREF);
+void GAIAInfoUpdateService::RegisterUserPrefs(PrefServiceSyncable* prefs) {
+ prefs->RegisterInt64Pref(prefs::kProfileGAIAInfoUpdateTime,
+ 0,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
+ prefs->RegisterStringPref(prefs::kProfileGAIAInfoPictureURL,
+ "",
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
bool GAIAInfoUpdateService::NeedsProfilePicture() const {
« no previous file with comments | « chrome/browser/profiles/gaia_info_update_service.h ('k') | chrome/browser/profiles/off_the_record_profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698