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

Side by Side 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 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_SWITCHES_H_ 5 #ifndef COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_
6 #define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_ 6 #define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "components/spellcheck/spellcheck_build_features.h"
9 10
10 namespace spellcheck { 11 namespace spellcheck {
11 namespace switches { 12 namespace switches {
12 13
13 #if defined(ENABLE_SPELLCHECK) 14 #if BUILDFLAG(ENABLE_SPELLCHECK)
14 extern const char kEnableSpellingFeedbackFieldTrial[]; 15 extern const char kEnableSpellingFeedbackFieldTrial[];
15 extern const char kSpellingServiceFeedbackIntervalSeconds[]; 16 extern const char kSpellingServiceFeedbackIntervalSeconds[];
16 extern const char kSpellingServiceFeedbackUrl[]; 17 extern const char kSpellingServiceFeedbackUrl[];
17 #endif // defined(ENABLE_SPELLCHECK) 18 #endif // BUILDFLAG(ENABLE_SPELLCHECK)
18 19
19 } // namespace switches 20 } // namespace switches
20 } // namespace spellcheck 21 } // namespace spellcheck
21 22
22 #endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_ 23 #endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_SWITCHES_H_
OLDNEW
« 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