| 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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1081 | 1081 |
| 1082 // Simulates a critical update being available. | 1082 // Simulates a critical update being available. |
| 1083 const char kSimulateCriticalUpdate[] = "simulate-critical-update"; | 1083 const char kSimulateCriticalUpdate[] = "simulate-critical-update"; |
| 1084 | 1084 |
| 1085 // Simulates that current version is outdated. | 1085 // Simulates that current version is outdated. |
| 1086 const char kSimulateOutdated[] = "simulate-outdated"; | 1086 const char kSimulateOutdated[] = "simulate-outdated"; |
| 1087 | 1087 |
| 1088 // Simulates that current version is outdated and auto-update is off. | 1088 // Simulates that current version is outdated and auto-update is off. |
| 1089 const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au"; | 1089 const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au"; |
| 1090 | 1090 |
| 1091 // Speculative resource prefetching. |
| 1092 const char kSpeculativeResourcePrefetching[] = |
| 1093 "speculative-resource-prefetching"; |
| 1094 |
| 1095 // Speculative resource prefetching is disabled. |
| 1096 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; |
| 1097 |
| 1098 // Speculative resource prefetching will only learn about resources that need to |
| 1099 // be prefetched but will not prefetch them. |
| 1100 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; |
| 1101 |
| 1102 // Speculative resource prefetching is enabled. |
| 1103 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; |
| 1104 |
| 1091 // Specifies the URL where spelling service feedback data will be sent instead | 1105 // Specifies the URL where spelling service feedback data will be sent instead |
| 1092 // of the default URL. This switch is for temporary testing only. | 1106 // of the default URL. This switch is for temporary testing only. |
| 1093 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by | 1107 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by |
| 1094 // August 2013. | 1108 // August 2013. |
| 1095 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; | 1109 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; |
| 1096 | 1110 |
| 1097 // Specifies the number of seconds between sending batches of feedback to | 1111 // Specifies the number of seconds between sending batches of feedback to |
| 1098 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This | 1112 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This |
| 1099 // switch is for temporary testing only. | 1113 // switch is for temporary testing only. |
| 1100 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by | 1114 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1356 | 1370 |
| 1357 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
| 1358 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1359 // | 1373 // |
| 1360 // You were going to just dump your switches here, weren't you? Instead, please | 1374 // You were going to just dump your switches here, weren't you? Instead, please |
| 1361 // put them in alphabetical order above, or in order inside the appropriate | 1375 // put them in alphabetical order above, or in order inside the appropriate |
| 1362 // ifdef at the bottom. The order should match the header. | 1376 // ifdef at the bottom. The order should match the header. |
| 1363 // ----------------------------------------------------------------------------- | 1377 // ----------------------------------------------------------------------------- |
| 1364 | 1378 |
| 1365 } // namespace switches | 1379 } // namespace switches |
| OLD | NEW |