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

Unified Diff: components/suggestions/blacklist_store.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
Index: components/suggestions/blacklist_store.cc
diff --git a/components/suggestions/blacklist_store.cc b/components/suggestions/blacklist_store.cc
index 304df2f1ddcb055816f45ec796ab6f950ad6bda9..c9245e7acf3dddb5a1fd8c71de4d69592704fbf1 100644
--- a/components/suggestions/blacklist_store.cc
+++ b/components/suggestions/blacklist_store.cc
@@ -212,9 +212,7 @@ void BlacklistStore::FilterSuggestions(SuggestionsProfile* profile) {
// static
void BlacklistStore::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
- registry->RegisterStringPref(
- prefs::kSuggestionsBlacklist, std::string(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterStringPref(prefs::kSuggestionsBlacklist, std::string());
}
« no previous file with comments | « components/search_engines/template_url_prepopulate_data.cc ('k') | components/suggestions/suggestions_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698