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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2244083002: Componentize spellcheck [4]: spellcheck/browser and android java-side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index fdd3a088708624699819b3696a466c4d9e767992..5659afa542137258732017b52c6738b2368bf848 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -77,6 +77,10 @@
#include "extensions/common/manifest.h"
#endif
+#if defined(ENABLE_SPELLCHECK)
+#include "components/spellcheck/browser/pref_names.h"
+#endif
+
namespace policy {
namespace {
@@ -360,7 +364,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
#if defined(ENABLE_SPELLCHECK)
{ key::kSpellCheckServiceEnabled,
- prefs::kSpellCheckUseSpellingService,
+ spellcheck::prefs::kSpellCheckUseSpellingService,
base::Value::TYPE_BOOLEAN },
#endif // defined(ENABLE_SPELLCHECK)

Powered by Google App Engine
This is Rietveld 408576698