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 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 | 1317 |
1312 // Simulates that current version is outdated. | 1318 // Simulates that current version is outdated. |
1313 const char kSimulateOutdated[] = "simulate-outdated"; | 1319 const char kSimulateOutdated[] = "simulate-outdated"; |
1314 | 1320 |
1315 // Replaces the buffered data source for <audio> and <video> with a simplified | 1321 // Replaces the buffered data source for <audio> and <video> with a simplified |
1316 // resource loader that downloads the entire resource into memory. | 1322 // resource loader that downloads the entire resource into memory. |
1317 | 1323 |
1318 // Origin for which SpdyProxy authentication is supported. | 1324 // Origin for which SpdyProxy authentication is supported. |
1319 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; | 1325 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; |
1320 | 1326 |
| 1327 // Authentication string for the data reduction proxy. |
| 1328 const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value"; |
| 1329 |
1321 // Speculative resource prefetching. | 1330 // Speculative resource prefetching. |
1322 const char kSpeculativeResourcePrefetching[] = | 1331 const char kSpeculativeResourcePrefetching[] = |
1323 "speculative-resource-prefetching"; | 1332 "speculative-resource-prefetching"; |
1324 | 1333 |
1325 // Speculative resource prefetching is disabled. | 1334 // Speculative resource prefetching is disabled. |
1326 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; | 1335 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; |
1327 | 1336 |
1328 // Speculative resource prefetching will only learn about resources that need to | 1337 // Speculative resource prefetching will only learn about resources that need to |
1329 // be prefetched but will not prefetch them. | 1338 // be prefetched but will not prefetch them. |
1330 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; | 1339 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 | 1650 |
1642 // ----------------------------------------------------------------------------- | 1651 // ----------------------------------------------------------------------------- |
1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1652 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1644 // | 1653 // |
1645 // You were going to just dump your switches here, weren't you? Instead, please | 1654 // You were going to just dump your switches here, weren't you? Instead, please |
1646 // put them in alphabetical order above, or in order inside the appropriate | 1655 // put them in alphabetical order above, or in order inside the appropriate |
1647 // ifdef at the bottom. The order should match the header. | 1656 // ifdef at the bottom. The order should match the header. |
1648 // ----------------------------------------------------------------------------- | 1657 // ----------------------------------------------------------------------------- |
1649 | 1658 |
1650 } // namespace switches | 1659 } // namespace switches |
OLD | NEW |