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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2166683003: Componentize spellcheck [1]: create component and move switches there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + --no-find-copies Created 4 years, 5 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/spellchecker/feedback_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index d871442cf610c81b35cef1a5d0ac2e1f484880cc..1ef0931d53e4bc46f4d83718c41c60bd3362fc57 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -131,6 +131,7 @@
#include "components/rappor/rappor_utils.h"
#include "components/security_interstitials/core/ssl_error_ui.h"
#include "components/signin/core/common/profile_management_switches.h"
+#include "components/spellcheck/common/spellcheck_switches.h"
#include "components/startup_metric_utils/browser/startup_metric_host_impl.h"
#include "components/subresource_filter/content/browser/subresource_filter_navigation_throttle.h"
#include "components/translate/core/common/translate_switches.h"
@@ -1627,7 +1628,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
switches::kDisableJavaScriptHarmonyShipping,
switches::kDisableNewBookmarkApps,
#if defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
- switches::kEnableAndroidSpellChecker,
+ spellcheck::switches::kEnableAndroidSpellChecker,
#endif
switches::kEnableBenchmarking,
switches::kEnableNaCl,
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/spellchecker/feedback_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698