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

Unified Diff: components/spellcheck/common/spellcheck_switches.h

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 | « components/spellcheck/common/BUILD.gn ('k') | components/spellcheck/common/spellcheck_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/common/spellcheck_switches.h
diff --git a/components/spellcheck/common/spellcheck_switches.h b/components/spellcheck/common/spellcheck_switches.h
new file mode 100644
index 0000000000000000000000000000000000000000..4e85faa4635156d30c8f4044bc91a37c553521b1
--- /dev/null
+++ b/components/spellcheck/common/spellcheck_switches.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_
+#define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_
+
+#include "build/build_config.h"
+
+namespace spellcheck {
+namespace switches {
+
+#if defined(ENABLE_SPELLCHECK)
+#if defined(OS_ANDROID)
+extern const char kEnableAndroidSpellChecker[];
+#endif // defined(OS_ANDROID)
+extern const char kEnableSpellingFeedbackFieldTrial[];
+extern const char kSpellingServiceFeedbackIntervalSeconds[];
+extern const char kSpellingServiceFeedbackUrl[];
+#endif // defined(ENABLE_SPELLCHECK)
+
+} // namespace switches
+} // namespace spellcheck
+
+#endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_
« no previous file with comments | « components/spellcheck/common/BUILD.gn ('k') | components/spellcheck/common/spellcheck_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698