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

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

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 years, 8 months 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/profiles/chrome_version_service.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/gaia_info_update_service_factory.cc
diff --git a/chrome/browser/profiles/gaia_info_update_service_factory.cc b/chrome/browser/profiles/gaia_info_update_service_factory.cc
index a173d68c0018600cf7ee903e0ec23a0f85e7100d..8c8978cf7fe5361a288213f52885b8b36072e993 100644
--- a/chrome/browser/profiles/gaia_info_update_service_factory.cc
+++ b/chrome/browser/profiles/gaia_info_update_service_factory.cc
@@ -42,12 +42,8 @@ KeyedService* GAIAInfoUpdateServiceFactory::BuildServiceInstanceFor(
void GAIAInfoUpdateServiceFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* prefs) {
- prefs->RegisterInt64Pref(prefs::kProfileGAIAInfoUpdateTime,
- 0,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- prefs->RegisterStringPref(prefs::kProfileGAIAInfoPictureURL,
- std::string(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ prefs->RegisterInt64Pref(prefs::kProfileGAIAInfoUpdateTime, 0);
+ prefs->RegisterStringPref(prefs::kProfileGAIAInfoPictureURL, std::string());
}
bool GAIAInfoUpdateServiceFactory::ServiceIsNULLWhileTesting() const {
« no previous file with comments | « chrome/browser/profiles/chrome_version_service.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698