| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 // Speculative resource prefetching will only learn about resources that need to | 1093 // Speculative resource prefetching will only learn about resources that need to |
| 1094 // be prefetched but will not prefetch them. | 1094 // be prefetched but will not prefetch them. |
| 1095 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; | 1095 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; |
| 1096 | 1096 |
| 1097 // Speculative resource prefetching is enabled. | 1097 // Speculative resource prefetching is enabled. |
| 1098 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; | 1098 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; |
| 1099 | 1099 |
| 1100 #if defined(ENABLE_SPELLCHECK) | 1100 #if defined(ENABLE_SPELLCHECK) |
| 1101 // Enables auto correction for misspelled words. | 1101 // Enables auto correction for misspelled words. |
| 1102 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; | 1102 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; |
| 1103 |
| 1104 // Enables participation in the field trial for user feedback to spelling |
| 1105 // service. |
| 1106 const char kEnableSpellingFeedbackFieldTrial[] = |
| 1107 "enable-spelling-feedback-field-trial"; |
| 1108 |
| 1109 // Specifies the URL where spelling service feedback data will be sent instead |
| 1110 // of the default URL. This switch is for temporary testing only. |
| 1111 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by |
| 1112 // August 2013. |
| 1113 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; |
| 1114 |
| 1115 // Specifies the number of seconds between sending batches of feedback to |
| 1116 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This |
| 1117 // switch is for temporary testing only. |
| 1118 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by |
| 1119 // August 2013. |
| 1120 const char kSpellingServiceFeedbackIntervalSeconds[] = |
| 1121 "spelling-service-feedback-interval-seconds"; |
| 1103 #endif | 1122 #endif |
| 1104 | 1123 |
| 1105 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or | 1124 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or |
| 1106 // "tls1.2"). | 1125 // "tls1.2"). |
| 1107 const char kSSLVersionMax[] = "ssl-version-max"; | 1126 const char kSSLVersionMax[] = "ssl-version-max"; |
| 1108 | 1127 |
| 1109 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or | 1128 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or |
| 1110 // "tls1.2"). | 1129 // "tls1.2"). |
| 1111 const char kSSLVersionMin[] = "ssl-version-min"; | 1130 const char kSSLVersionMin[] = "ssl-version-min"; |
| 1112 | 1131 |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1402 | 1421 |
| 1403 // ----------------------------------------------------------------------------- | 1422 // ----------------------------------------------------------------------------- |
| 1404 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1423 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1405 // | 1424 // |
| 1406 // You were going to just dump your switches here, weren't you? Instead, please | 1425 // You were going to just dump your switches here, weren't you? Instead, please |
| 1407 // put them in alphabetical order above, or in order inside the appropriate | 1426 // put them in alphabetical order above, or in order inside the appropriate |
| 1408 // ifdef at the bottom. The order should match the header. | 1427 // ifdef at the bottom. The order should match the header. |
| 1409 // ----------------------------------------------------------------------------- | 1428 // ----------------------------------------------------------------------------- |
| 1410 | 1429 |
| 1411 } // namespace switches | 1430 } // namespace switches |
| OLD | NEW |