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

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

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
« no previous file with comments | « components/spellcheck/common/spellcheck_switches.h ('k') | components/spellcheck/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/common/spellcheck_switches.cc
diff --git a/components/spellcheck/common/spellcheck_switches.cc b/components/spellcheck/common/spellcheck_switches.cc
index 0e794638a821e910947cd0dcd2267b9352807dae..614b96aae738434c3b97b383962730def261166c 100644
--- a/components/spellcheck/common/spellcheck_switches.cc
+++ b/components/spellcheck/common/spellcheck_switches.cc
@@ -4,11 +4,12 @@
#include "build/build_config.h"
#include "components/spellcheck/common/spellcheck_switches.h"
+#include "components/spellcheck/spellcheck_build_features.h"
namespace spellcheck {
namespace switches {
-#if defined(ENABLE_SPELLCHECK)
+#if BUILDFLAG(ENABLE_SPELLCHECK)
// Enables participation in the field trial for user feedback to spelling
// service.
const char kEnableSpellingFeedbackFieldTrial[] =
@@ -27,7 +28,7 @@ const char kSpellingServiceFeedbackIntervalSeconds[] =
// TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by
// August 2013.
const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url";
-#endif // defined(ENABLE_SPELLCHECK)
+#endif // BUILDFLAG(ENABLE_SPELLCHECK)
} // namespace switches
} // namespace spellcheck
« no previous file with comments | « components/spellcheck/common/spellcheck_switches.h ('k') | components/spellcheck/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698