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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; | 238 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
239 | 239 |
240 // Some platforms like ChromeOS default to empty desktop. | 240 // Some platforms like ChromeOS default to empty desktop. |
241 // Browser tests may need to add this switch so that at least one browser | 241 // Browser tests may need to add this switch so that at least one browser |
242 // instance is created on startup. | 242 // instance is created on startup. |
243 // TODO(nkostylev): Investigate if this switch could be removed. | 243 // TODO(nkostylev): Investigate if this switch could be removed. |
244 // (http://crbug.com/148675) | 244 // (http://crbug.com/148675) |
245 const char kCreateBrowserOnStartupForTests[] = | 245 const char kCreateBrowserOnStartupForTests[] = |
246 "create-browser-on-startup-for-tests"; | 246 "create-browser-on-startup-for-tests"; |
247 | 247 |
| 248 #if defined(OS_ANDROID) || defined(OS_IOS) |
| 249 // If set, the data reduction proxy will only be enabled if a request for this |
| 250 // URL is successful. |
| 251 const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url"; |
| 252 #endif |
| 253 |
248 // Enables a frame context menu item that toggles the frame in and out of glass | 254 // Enables a frame context menu item that toggles the frame in and out of glass |
249 // mode (Windows Vista and up only). | 255 // mode (Windows Vista and up only). |
250 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; | 256 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; |
251 | 257 |
252 // Adds debugging entries such as Inspect Element to context menus of packed | 258 // Adds debugging entries such as Inspect Element to context menus of packed |
253 // apps. | 259 // apps. |
254 const char kDebugPackedApps[] = "debug-packed-apps"; | 260 const char kDebugPackedApps[] = "debug-packed-apps"; |
255 | 261 |
256 // Enables support to debug printing subsystem. | 262 // Enables support to debug printing subsystem. |
257 const char kDebugPrint[] = "debug-print"; | 263 const char kDebugPrint[] = "debug-print"; |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1329 | 1335 |
1330 // Simulates that current version is outdated. | 1336 // Simulates that current version is outdated. |
1331 const char kSimulateOutdated[] = "simulate-outdated"; | 1337 const char kSimulateOutdated[] = "simulate-outdated"; |
1332 | 1338 |
1333 // Replaces the buffered data source for <audio> and <video> with a simplified | 1339 // Replaces the buffered data source for <audio> and <video> with a simplified |
1334 // resource loader that downloads the entire resource into memory. | 1340 // resource loader that downloads the entire resource into memory. |
1335 | 1341 |
1336 // Origin for which SpdyProxy authentication is supported. | 1342 // Origin for which SpdyProxy authentication is supported. |
1337 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; | 1343 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; |
1338 | 1344 |
| 1345 // Authentication string for the data reduction proxy. |
| 1346 const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value"; |
| 1347 |
1339 // Speculative resource prefetching. | 1348 // Speculative resource prefetching. |
1340 const char kSpeculativeResourcePrefetching[] = | 1349 const char kSpeculativeResourcePrefetching[] = |
1341 "speculative-resource-prefetching"; | 1350 "speculative-resource-prefetching"; |
1342 | 1351 |
1343 // Speculative resource prefetching is disabled. | 1352 // Speculative resource prefetching is disabled. |
1344 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; | 1353 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; |
1345 | 1354 |
1346 // Speculative resource prefetching will only learn about resources that need to | 1355 // Speculative resource prefetching will only learn about resources that need to |
1347 // be prefetched but will not prefetch them. | 1356 // be prefetched but will not prefetch them. |
1348 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; | 1357 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1659 | 1668 |
1660 // ----------------------------------------------------------------------------- | 1669 // ----------------------------------------------------------------------------- |
1661 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1670 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1662 // | 1671 // |
1663 // You were going to just dump your switches here, weren't you? Instead, please | 1672 // You were going to just dump your switches here, weren't you? Instead, please |
1664 // put them in alphabetical order above, or in order inside the appropriate | 1673 // put them in alphabetical order above, or in order inside the appropriate |
1665 // ifdef at the bottom. The order should match the header. | 1674 // ifdef at the bottom. The order should match the header. |
1666 // ----------------------------------------------------------------------------- | 1675 // ----------------------------------------------------------------------------- |
1667 | 1676 |
1668 } // namespace switches | 1677 } // namespace switches |
OLD | NEW |