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

Unified Diff: components/spellcheck/common/spellcheck_features.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
« no previous file with comments | « components/spellcheck/common/BUILD.gn ('k') | components/spellcheck/common/spellcheck_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/common/spellcheck_features.h
diff --git a/components/spellcheck/common/spellcheck_features.h b/components/spellcheck/common/spellcheck_features.h
index ba0e2f2f8b435fbef948ed3f170cbf870433226b..311ac73810e636ca26065ce6776d060e6ab96771 100644
--- a/components/spellcheck/common/spellcheck_features.h
+++ b/components/spellcheck/common/spellcheck_features.h
@@ -6,15 +6,16 @@
#define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_FEATURES_H_
#include "base/feature_list.h"
+#include "components/spellcheck/spellcheck_build_features.h"
namespace spellcheck {
-#if defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
+#if BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
extern const base::Feature kAndroidSpellChecker;
extern const base::Feature kAndroidSpellCheckerNonLowEnd;
bool IsAndroidSpellCheckFeatureEnabled();
-#endif // defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
+#endif // BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
} // namespace spellcheck
« no previous file with comments | « components/spellcheck/common/BUILD.gn ('k') | components/spellcheck/common/spellcheck_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698