Index: chrome/browser/search_engines/template_url_prepopulate_data.cc |
diff --git a/chrome/browser/search_engines/template_url_prepopulate_data.cc b/chrome/browser/search_engines/template_url_prepopulate_data.cc |
index 4498c4890b3ddcc8caafbff63105a11d65c09e59..e19384e8d49acc8b280f5ee5a128651294087a5d 100644 |
--- a/chrome/browser/search_engines/template_url_prepopulate_data.cc |
+++ b/chrome/browser/search_engines/template_url_prepopulate_data.cc |
@@ -3341,11 +3341,18 @@ void GetPrepopulationSetFromCountryID(PrefService* prefs, |
namespace TemplateURLPrepopulateData { |
void RegisterUserPrefs(PrefService* prefs) { |
- prefs->RegisterIntegerPref(prefs::kCountryIDAtInstall, kCountryIDUnknown); |
- prefs->RegisterListPref(prefs::kSearchProviderOverrides); |
- prefs->RegisterIntegerPref(prefs::kSearchProviderOverridesVersion, -1); |
+ prefs->RegisterIntegerPref(prefs::kCountryIDAtInstall, |
+ kCountryIDUnknown, |
+ PrefService::UNSYNCABLE_PREF); |
+ prefs->RegisterListPref(prefs::kSearchProviderOverrides, |
+ PrefService::UNSYNCABLE_PREF); |
+ prefs->RegisterIntegerPref(prefs::kSearchProviderOverridesVersion, |
+ -1, |
+ PrefService::UNSYNCABLE_PREF); |
// Obsolete pref, for migration. |
- prefs->RegisterIntegerPref(prefs::kGeoIDAtInstall, -1); |
+ prefs->RegisterIntegerPref(prefs::kGeoIDAtInstall, |
+ -1, |
+ PrefService::UNSYNCABLE_PREF); |
} |
int GetDataVersion(PrefService* prefs) { |