| 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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "components/spellcheck/common/spellcheck_switches.h" | 6 #include "components/spellcheck/common/spellcheck_switches.h" |
| 7 | 7 |
| 8 namespace spellcheck { | 8 namespace spellcheck { |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| 11 #if defined(ENABLE_SPELLCHECK) | 11 #if defined(ENABLE_SPELLCHECK) |
| 12 #if defined(OS_ANDROID) | 12 #if defined(OS_ANDROID) |
| 13 // Enables use of the Android spellchecker. | 13 // Enables use of the Android spellchecker. |
| 14 const char kEnableAndroidSpellChecker[] = "enable-android-spellchecker"; | 14 const char kEnableAndroidSpellChecker[] = "enable-android-spellchecker"; |
| 15 #endif // defined(OS_ANDROID) | 15 #endif // defined(OS_ANDROID) |
| 16 | |
| 17 // Enables participation in the field trial for user feedback to spelling | |
| 18 // service. | |
| 19 const char kEnableSpellingFeedbackFieldTrial[] = | |
| 20 "enable-spelling-feedback-field-trial"; | |
| 21 | |
| 22 // Specifies the number of seconds between sending batches of feedback to | |
| 23 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This | |
| 24 // switch is for temporary testing only. | |
| 25 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by | |
| 26 // August 2013. | |
| 27 const char kSpellingServiceFeedbackIntervalSeconds[] = | |
| 28 "spelling-service-feedback-interval-seconds"; | |
| 29 | |
| 30 // Specifies the URL where spelling service feedback data will be sent instead | |
| 31 // of the default URL. This switch is for temporary testing only. | |
| 32 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by | |
| 33 // August 2013. | |
| 34 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; | |
| 35 #endif // defined(ENABLE_SPELLCHECK) | 16 #endif // defined(ENABLE_SPELLCHECK) |
| 36 | 17 |
| 37 } // namespace switches | 18 } // namespace switches |
| 38 } // namespace spellcheck | 19 } // namespace spellcheck |
| OLD | NEW |