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) | |
246 // If set, the data reduction proxy will only be enabled if a request for this | |
marq (ping after 24h)
2013/09/17 21:57:50
OS_IOS
bengr
2013/09/18 22:15:26
Done.
| |
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 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1293 | 1299 |
1294 // Simulates that current version is outdated. | 1300 // Simulates that current version is outdated. |
1295 const char kSimulateOutdated[] = "simulate-outdated"; | 1301 const char kSimulateOutdated[] = "simulate-outdated"; |
1296 | 1302 |
1297 // Replaces the buffered data source for <audio> and <video> with a simplified | 1303 // Replaces the buffered data source for <audio> and <video> with a simplified |
1298 // resource loader that downloads the entire resource into memory. | 1304 // resource loader that downloads the entire resource into memory. |
1299 | 1305 |
1300 // Origin for which SpdyProxy authentication is supported. | 1306 // Origin for which SpdyProxy authentication is supported. |
1301 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; | 1307 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; |
1302 | 1308 |
1309 // Authentication string for the data reduction proxy. | |
1310 const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value"; | |
1311 | |
1303 // Speculative resource prefetching. | 1312 // Speculative resource prefetching. |
1304 const char kSpeculativeResourcePrefetching[] = | 1313 const char kSpeculativeResourcePrefetching[] = |
1305 "speculative-resource-prefetching"; | 1314 "speculative-resource-prefetching"; |
1306 | 1315 |
1307 // Speculative resource prefetching is disabled. | 1316 // Speculative resource prefetching is disabled. |
1308 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; | 1317 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; |
1309 | 1318 |
1310 // Speculative resource prefetching will only learn about resources that need to | 1319 // Speculative resource prefetching will only learn about resources that need to |
1311 // be prefetched but will not prefetch them. | 1320 // be prefetched but will not prefetch them. |
1312 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; | 1321 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1611 | 1620 |
1612 // ----------------------------------------------------------------------------- | 1621 // ----------------------------------------------------------------------------- |
1613 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1622 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1614 // | 1623 // |
1615 // You were going to just dump your switches here, weren't you? Instead, please | 1624 // You were going to just dump your switches here, weren't you? Instead, please |
1616 // put them in alphabetical order above, or in order inside the appropriate | 1625 // put them in alphabetical order above, or in order inside the appropriate |
1617 // ifdef at the bottom. The order should match the header. | 1626 // ifdef at the bottom. The order should match the header. |
1618 // ----------------------------------------------------------------------------- | 1627 // ----------------------------------------------------------------------------- |
1619 | 1628 |
1620 } // namespace switches | 1629 } // namespace switches |
OLD | NEW |