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

Unified Diff: chrome/browser/spellchecker/spellcheck_platform_android.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/spellchecker/feedback_sender_unittest.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker/spellcheck_platform_android.cc
diff --git a/chrome/browser/spellchecker/spellcheck_platform_android.cc b/chrome/browser/spellchecker/spellcheck_platform_android.cc
index 101794373e72b6261c75e58721a7eb0dc147d20a..832c6e09dad5267533131715721cd4e8bc0b74a3 100644
--- a/chrome/browser/spellchecker/spellcheck_platform_android.cc
+++ b/chrome/browser/spellchecker/spellcheck_platform_android.cc
@@ -6,7 +6,7 @@
#include "base/callback.h"
#include "base/command_line.h"
-#include "chrome/common/chrome_switches.h"
+#include "components/spellcheck/common/spellcheck_switches.h"
namespace spellcheck_platform {
@@ -19,7 +19,7 @@ std::string GetSpellCheckerLanguage() {
bool SpellCheckerAvailable() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableAndroidSpellChecker);
+ spellcheck::switches::kEnableAndroidSpellChecker);
}
bool SpellCheckerProvidesPanel() {
« no previous file with comments | « chrome/browser/spellchecker/feedback_sender_unittest.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698