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

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

Issue 11620012: [Profiles, Fixit] Making GAIAInfoUpdateService into a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing RegisterUserPrefs 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..8e08de2708fd671c2c84f3115c6e49a89be3cbec 100644
--- a/chrome/browser/profiles/gaia_info_update_service.cc
+++ b/chrome/browser/profiles/gaia_info_update_service.cc
@@ -77,14 +77,6 @@ bool GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(Profile* profile) {
return false;
}
-// static
-void GAIAInfoUpdateService::RegisterUserPrefs(PrefServiceBase* prefs) {
- prefs->RegisterInt64Pref(
- prefs::kProfileGAIAInfoUpdateTime, 0, PrefServiceBase::UNSYNCABLE_PREF);
- prefs->RegisterStringPref(
- prefs::kProfileGAIAInfoPictureURL, "", PrefServiceBase::UNSYNCABLE_PREF);
-}
-
bool GAIAInfoUpdateService::NeedsProfilePicture() const {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698