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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
525 | 525 |
526 // By default, cookies are not allowed on file://. They are needed for testing, | 526 // By default, cookies are not allowed on file://. They are needed for testing, |
527 // for example page cycler and layout tests. See bug 1157243. | 527 // for example page cycler and layout tests. See bug 1157243. |
528 const char kEnableFileCookies[] = "enable-file-cookies"; | 528 const char kEnableFileCookies[] = "enable-file-cookies"; |
529 | 529 |
530 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will | 530 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
531 // try to figure out if pipelining can be used for a given host and request. | 531 // try to figure out if pipelining can be used for a given host and request. |
532 // Without this flag, pipelining will never be used. | 532 // Without this flag, pipelining will never be used. |
533 const char kEnableHttpPipelining[] = "enable-http-pipelining"; | 533 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
534 | 534 |
535 const char kEnableHtml5Camera[] = "enable-html5-camera"; | |
536 | |
535 // Enables IPv6 support, even if probes suggest that it may not be fully | 537 // Enables IPv6 support, even if probes suggest that it may not be fully |
536 // supported. Some probes may require internet connections, and this flag will | 538 // supported. Some probes may require internet connections, and this flag will |
537 // allow support independent of application testing. This flag overrides | 539 // allow support independent of application testing. This flag overrides |
538 // "disable-ipv6" which appears elswhere in this file. | 540 // "disable-ipv6" which appears elswhere in this file. |
539 const char kEnableIPv6[] = "enable-ipv6"; | 541 const char kEnableIPv6[] = "enable-ipv6"; |
540 | 542 |
541 /// Enables the IPC fuzzer for reliability testing | 543 /// Enables the IPC fuzzer for reliability testing |
542 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing"; | 544 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing"; |
543 | 545 |
544 // Enables IP Pooling within the networks stack (SPDY only). When a connection | 546 // Enables IP Pooling within the networks stack (SPDY only). When a connection |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1146 // Replaces the buffered data source for <audio> and <video> with a simplified | 1148 // Replaces the buffered data source for <audio> and <video> with a simplified |
1147 // resource loader that downloads the entire resource into memory. | 1149 // resource loader that downloads the entire resource into memory. |
1148 | 1150 |
1149 // Socket reuse policy. The value should be of type enum | 1151 // Socket reuse policy. The value should be of type enum |
1150 // ClientSocketReusePolicy. | 1152 // ClientSocketReusePolicy. |
1151 const char kSocketReusePolicy[] = "socket-reuse-policy"; | 1153 const char kSocketReusePolicy[] = "socket-reuse-policy"; |
1152 | 1154 |
1153 // Starts the browser maximized, regardless of any previous settings. | 1155 // Starts the browser maximized, regardless of any previous settings. |
1154 const char kStartMaximized[] = "start-maximized"; | 1156 const char kStartMaximized[] = "start-maximized"; |
1155 | 1157 |
1158 const char kStubUser[] = "stub-user"; | |
Nikita (slow)
2012/06/07 15:26:55
Comment?
Ivan Korotkov
2012/06/09 14:19:01
Removed
| |
1159 | |
1156 // Controls the width of time-of-day filters on the 'suggested' ntp page, in | 1160 // Controls the width of time-of-day filters on the 'suggested' ntp page, in |
1157 // minutes. | 1161 // minutes. |
1158 const char kSuggestionNtpFilterWidth[] = "suggestion-ntp-filter-width"; | 1162 const char kSuggestionNtpFilterWidth[] = "suggestion-ntp-filter-width"; |
1159 | 1163 |
1160 // Enables a normal distribution dropoff to the relevancy of visits with respect | 1164 // Enables a normal distribution dropoff to the relevancy of visits with respect |
1161 // to the time of day. | 1165 // to the time of day. |
1162 const char kSuggestionNtpGaussianFilter[] = "suggestion-ntp-gaussian-filter"; | 1166 const char kSuggestionNtpGaussianFilter[] = "suggestion-ntp-gaussian-filter"; |
1163 | 1167 |
1164 // Enables a linear dropoff to the relevancy of visits with respect to the time | 1168 // Enables a linear dropoff to the relevancy of visits with respect to the time |
1165 // of day. | 1169 // of day. |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1449 | 1453 |
1450 // ----------------------------------------------------------------------------- | 1454 // ----------------------------------------------------------------------------- |
1451 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1455 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1452 // | 1456 // |
1453 // You were going to just dump your switches here, weren't you? Instead, please | 1457 // You were going to just dump your switches here, weren't you? Instead, please |
1454 // put them in alphabetical order above, or in order inside the appropriate | 1458 // put them in alphabetical order above, or in order inside the appropriate |
1455 // ifdef at the bottom. The order should match the header. | 1459 // ifdef at the bottom. The order should match the header. |
1456 // ----------------------------------------------------------------------------- | 1460 // ----------------------------------------------------------------------------- |
1457 | 1461 |
1458 } // namespace switches | 1462 } // namespace switches |
OLD | NEW |