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

Unified Diff: chrome/browser/spellchecker/spellcheck_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
Index: chrome/browser/spellchecker/spellcheck_factory.cc
diff --git a/chrome/browser/spellchecker/spellcheck_factory.cc b/chrome/browser/spellchecker/spellcheck_factory.cc
index bd4ac1fd5cc090ab67ca7a0d47c7ef271af346ce..edbed4055410f4b5c9027f3023dea245aa2fd68d 100644
--- a/chrome/browser/spellchecker/spellcheck_factory.cc
+++ b/chrome/browser/spellchecker/spellcheck_factory.cc
@@ -71,12 +71,8 @@ void SpellcheckServiceFactory::RegisterProfilePrefs(
// TODO(estade): IDS_SPELLCHECK_DICTIONARY should be an ASCII string.
user_prefs->RegisterStringPref(
prefs::kSpellCheckDictionary,
- l10n_util::GetStringUTF8(IDS_SPELLCHECK_DICTIONARY),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- user_prefs->RegisterBooleanPref(
- prefs::kSpellCheckUseSpellingService,
- false,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ l10n_util::GetStringUTF8(IDS_SPELLCHECK_DICTIONARY));
+ user_prefs->RegisterBooleanPref(prefs::kSpellCheckUseSpellingService, false);
user_prefs->RegisterBooleanPref(
prefs::kEnableContinuousSpellcheck,
true,
« no previous file with comments | « chrome/browser/signin/signin_promo.cc ('k') | chrome/browser/supervised_user/child_accounts/child_account_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698