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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; | 235 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
236 | 236 |
237 // Some platforms like ChromeOS default to empty desktop. | 237 // Some platforms like ChromeOS default to empty desktop. |
238 // Browser tests may need to add this switch so that at least one browser | 238 // Browser tests may need to add this switch so that at least one browser |
239 // instance is created on startup. | 239 // instance is created on startup. |
240 // TODO(nkostylev): Investigate if this switch could be removed. | 240 // TODO(nkostylev): Investigate if this switch could be removed. |
241 // (http://crbug.com/148675) | 241 // (http://crbug.com/148675) |
242 const char kCreateBrowserOnStartupForTests[] = | 242 const char kCreateBrowserOnStartupForTests[] = |
243 "create-browser-on-startup-for-tests"; | 243 "create-browser-on-startup-for-tests"; |
244 | 244 |
| 245 #if defined(OS_ANDROID) || defined(OS_IOS) |
| 246 // If set, the data reduction proxy will only be enabled if a request for this |
| 247 // URL is successful. |
| 248 const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url"; |
| 249 #endif |
| 250 |
245 // Enables a frame context menu item that toggles the frame in and out of glass | 251 // Enables a frame context menu item that toggles the frame in and out of glass |
246 // mode (Windows Vista and up only). | 252 // mode (Windows Vista and up only). |
247 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; | 253 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; |
248 | 254 |
249 // Adds debugging entries such as Inspect Element to context menus of packed | 255 // Adds debugging entries such as Inspect Element to context menus of packed |
250 // apps. | 256 // apps. |
251 const char kDebugPackedApps[] = "debug-packed-apps"; | 257 const char kDebugPackedApps[] = "debug-packed-apps"; |
252 | 258 |
253 // Enables support to debug printing subsystem. | 259 // Enables support to debug printing subsystem. |
254 const char kDebugPrint[] = "debug-print"; | 260 const char kDebugPrint[] = "debug-print"; |
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1296 | 1302 |
1297 // Simulates that current version is outdated. | 1303 // Simulates that current version is outdated. |
1298 const char kSimulateOutdated[] = "simulate-outdated"; | 1304 const char kSimulateOutdated[] = "simulate-outdated"; |
1299 | 1305 |
1300 // Replaces the buffered data source for <audio> and <video> with a simplified | 1306 // Replaces the buffered data source for <audio> and <video> with a simplified |
1301 // resource loader that downloads the entire resource into memory. | 1307 // resource loader that downloads the entire resource into memory. |
1302 | 1308 |
1303 // Origin for which SpdyProxy authentication is supported. | 1309 // Origin for which SpdyProxy authentication is supported. |
1304 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; | 1310 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; |
1305 | 1311 |
| 1312 // Authentication string for the data reduction proxy. |
| 1313 const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value"; |
| 1314 |
1306 // Speculative resource prefetching. | 1315 // Speculative resource prefetching. |
1307 const char kSpeculativeResourcePrefetching[] = | 1316 const char kSpeculativeResourcePrefetching[] = |
1308 "speculative-resource-prefetching"; | 1317 "speculative-resource-prefetching"; |
1309 | 1318 |
1310 // Speculative resource prefetching is disabled. | 1319 // Speculative resource prefetching is disabled. |
1311 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; | 1320 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; |
1312 | 1321 |
1313 // Speculative resource prefetching will only learn about resources that need to | 1322 // Speculative resource prefetching will only learn about resources that need to |
1314 // be prefetched but will not prefetch them. | 1323 // be prefetched but will not prefetch them. |
1315 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; | 1324 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 | 1637 |
1629 // ----------------------------------------------------------------------------- | 1638 // ----------------------------------------------------------------------------- |
1630 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1639 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1631 // | 1640 // |
1632 // You were going to just dump your switches here, weren't you? Instead, please | 1641 // You were going to just dump your switches here, weren't you? Instead, please |
1633 // put them in alphabetical order above, or in order inside the appropriate | 1642 // put them in alphabetical order above, or in order inside the appropriate |
1634 // ifdef at the bottom. The order should match the header. | 1643 // ifdef at the bottom. The order should match the header. |
1635 // ----------------------------------------------------------------------------- | 1644 // ----------------------------------------------------------------------------- |
1636 | 1645 |
1637 } // namespace switches | 1646 } // namespace switches |
OLD | NEW |