OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "build/build_config.h" |
| 6 #include "components/spellcheck/common/spellcheck_switches.h" |
| 7 |
| 8 namespace spellcheck { |
| 9 namespace switches { |
| 10 |
| 11 #if defined(ENABLE_SPELLCHECK) |
| 12 #if defined(OS_ANDROID) |
| 13 // Enables use of the Android spellchecker. |
| 14 const char kEnableAndroidSpellChecker[] = "enable-android-spellchecker"; |
| 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) |
| 36 |
| 37 } // namespace switches |
| 38 } // namespace spellcheck |
OLD | NEW |