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

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: 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
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 3db8ffcf93b9f72ec2566445f896cd012b3901ac..8a753cd28e6ada23ea5ee57587b9f1d76021c126 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/translate/core/common/translate_switches.h"
#include "components/url_formatter/url_fixer.h"
@@ -1633,7 +1634,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,

Powered by Google App Engine
This is Rietveld 408576698