| OLD | NEW |
| 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_ |
| OLD | NEW |