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

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

Issue 9289007: Profiles: Move the Spelling system onto a ProfileKeyedServiceFactory. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 11 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/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index b0e8c90bbf1ae47c8a71435e710bc93804a65da6..08e9351132705b76f6a6fea3d03ca064f5438432 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -54,7 +54,6 @@
#include "content/public/browser/download_manager.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
-#include "grit/locale_settings.h"
#include "ui/base/resource/resource_bundle.h"
#include "webkit/database/database_tracker.h"
#include "webkit/quota/quota_manager.h"
@@ -122,19 +121,6 @@ void Profile::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterBooleanPref(prefs::kSafeBrowsingReportingEnabled,
false,
PrefService::UNSYNCABLE_PREF);
- // TODO(estade): IDS_SPELLCHECK_DICTIONARY should be an ASCII string.
- prefs->RegisterLocalizedStringPref(prefs::kSpellCheckDictionary,
- IDS_SPELLCHECK_DICTIONARY,
- PrefService::UNSYNCABLE_PREF);
- prefs->RegisterBooleanPref(prefs::kSpellCheckUseSpellingService,
- false,
- PrefService::UNSYNCABLE_PREF);
- prefs->RegisterBooleanPref(prefs::kEnableSpellCheck,
- true,
- PrefService::SYNCABLE_PREF);
- prefs->RegisterBooleanPref(prefs::kEnableAutoSpellCorrect,
- true,
- PrefService::UNSYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kSpeechInputFilterProfanities,
true,
PrefService::UNSYNCABLE_PREF);

Powered by Google App Engine
This is Rietveld 408576698