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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_FEATURES_H_ 5 #ifndef COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_FEATURES_H_
6 #define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_FEATURES_H_ 6 #define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_FEATURES_H_
7 7
8 #include "base/feature_list.h" 8 #include "base/feature_list.h"
9 #include "components/spellcheck/spellcheck_build_features.h"
9 10
10 namespace spellcheck { 11 namespace spellcheck {
11 12
12 #if defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID) 13 #if BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
13 extern const base::Feature kAndroidSpellChecker; 14 extern const base::Feature kAndroidSpellChecker;
14 extern const base::Feature kAndroidSpellCheckerNonLowEnd; 15 extern const base::Feature kAndroidSpellCheckerNonLowEnd;
15 16
16 bool IsAndroidSpellCheckFeatureEnabled(); 17 bool IsAndroidSpellCheckFeatureEnabled();
17 #endif // defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID) 18 #endif // BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
18 19
19 } // namespace spellcheck 20 } // namespace spellcheck
20 21
21 #endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_FEATURES_H_ 22 #endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_FEATURES_H_
OLDNEW
« 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