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

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

Issue 2495193003: Convert spellcheck to a buildflag header. (Closed)
Patch Set: Comment Created 4 years, 1 month 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: components/spellcheck/common/spellcheck_switches.h
diff --git a/components/spellcheck/common/spellcheck_switches.h b/components/spellcheck/common/spellcheck_switches.h
index abe4d6e2f8ebbfc8136108151d00c4929a998c0b..309779089837e93a465a64074282d0153633a942 100644
--- a/components/spellcheck/common/spellcheck_switches.h
+++ b/components/spellcheck/common/spellcheck_switches.h
@@ -6,15 +6,16 @@
#define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_
#include "build/build_config.h"
+#include "components/spellcheck/spellcheck_build_features.h"
namespace spellcheck {
namespace switches {
-#if defined(ENABLE_SPELLCHECK)
+#if BUILDFLAG(ENABLE_SPELLCHECK)
extern const char kEnableSpellingFeedbackFieldTrial[];
extern const char kSpellingServiceFeedbackIntervalSeconds[];
extern const char kSpellingServiceFeedbackUrl[];
-#endif // defined(ENABLE_SPELLCHECK)
+#endif // BUILDFLAG(ENABLE_SPELLCHECK)
} // namespace switches
} // namespace spellcheck
« no previous file with comments | « components/spellcheck/common/spellcheck_messages.h ('k') | components/spellcheck/common/spellcheck_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698