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