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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
415 const char kDisableQuic[] = "disable-quic"; | 415 const char kDisableQuic[] = "disable-quic"; |
416 | 416 |
417 // Disables support for the HTTPS over QUIC protocol. This is a temporary | 417 // Disables support for the HTTPS over QUIC protocol. This is a temporary |
418 // testing flag. This only has an effect if QUIC protocol is enabled. | 418 // testing flag. This only has an effect if QUIC protocol is enabled. |
419 const char kDisableQuicHttps[] = "disable-quic-https"; | 419 const char kDisableQuicHttps[] = "disable-quic-https"; |
420 | 420 |
421 // Disable use of pacing of QUIC packets. | 421 // Disable use of pacing of QUIC packets. |
422 // This only has an effect if QUIC protocol is enabled. | 422 // This only has an effect if QUIC protocol is enabled. |
423 const char kDisableQuicPacing[] = "disable-quic-pacing"; | 423 const char kDisableQuicPacing[] = "disable-quic-pacing"; |
424 | 424 |
425 // Disable use of Chromium's persisting of QUIC server config information. | |
426 // This only has an effect if QUIC protocol is enabled. | |
427 const char kDisableQuicPersistServerInfo[] = | |
428 "disable-quic-persist-server_info"; | |
429 | |
Ryan Hamilton
2014/03/01 00:38:27
I don't think I would add these flags. I don't th
ramant (doing other things)
2014/03/01 01:22:22
Done.
| |
425 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 430 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
426 // This only has an effect if QUIC protocol is enabled. | 431 // This only has an effect if QUIC protocol is enabled. |
427 const char kDisableQuicPortSelection[] = "disable-quic-port_selection"; | 432 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
Ryan Hamilton
2014/03/01 00:38:27
hah! nice catch!
ramant (doing other things)
2014/03/01 01:22:22
Thanks much.
| |
428 | 433 |
429 // Prevents the URLs of BackgroundContents from being remembered and | 434 // Prevents the URLs of BackgroundContents from being remembered and |
430 // re-launched when the browser restarts. | 435 // re-launched when the browser restarts. |
431 const char kDisableRestoreBackgroundContents[] = | 436 const char kDisableRestoreBackgroundContents[] = |
432 "disable-restore-background-contents"; | 437 "disable-restore-background-contents"; |
433 | 438 |
434 // Disables restoring session state (cookies, session storage, etc.) when | 439 // Disables restoring session state (cookies, session storage, etc.) when |
435 // restoring the browsing session. | 440 // restoring the browsing session. |
436 const char kDisableRestoreSessionState[] = "disable-restore-session-state"; | 441 const char kDisableRestoreSessionState[] = "disable-restore-session-state"; |
437 | 442 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
725 const char kEnableQuic[] = "enable-quic"; | 730 const char kEnableQuic[] = "enable-quic"; |
726 | 731 |
727 // Enables support for the HTTPS over QUIC protocol. This is a temporary | 732 // Enables support for the HTTPS over QUIC protocol. This is a temporary |
728 // testing flag. This only has an effect if QUIC protocol is enabled. | 733 // testing flag. This only has an effect if QUIC protocol is enabled. |
729 const char kEnableQuicHttps[] = "enable-quic-https"; | 734 const char kEnableQuicHttps[] = "enable-quic-https"; |
730 | 735 |
731 // Disable use of pacing of QUIC packets. | 736 // Disable use of pacing of QUIC packets. |
732 // This only has an effect if QUIC protocol is enabled. | 737 // This only has an effect if QUIC protocol is enabled. |
733 const char kEnableQuicPacing[] = "enable-quic-pacing"; | 738 const char kEnableQuicPacing[] = "enable-quic-pacing"; |
734 | 739 |
740 // Enable use of Chromium's persisting of QUIC server config information. | |
741 // This only has an effect if QUIC protocol is enabled. | |
742 const char kEnableQuicPersistServerInfo[] = "enable-quic-persist-server-info"; | |
743 | |
735 // Enable use of Chromium's port selection for the ephemeral port via bind(). | 744 // Enable use of Chromium's port selection for the ephemeral port via bind(). |
736 // This only has an effect if QUIC protocol is enabled. | 745 // This only has an effect if QUIC protocol is enabled. |
737 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; | 746 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; |
738 | 747 |
739 // Enables save password prompt bubble. | 748 // Enables save password prompt bubble. |
740 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | 749 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; |
741 | 750 |
742 // Controls the support for SDCH filtering (dictionary based expansion of | 751 // Controls the support for SDCH filtering (dictionary based expansion of |
743 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 752 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
744 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 753 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1667 | 1676 |
1668 // ----------------------------------------------------------------------------- | 1677 // ----------------------------------------------------------------------------- |
1669 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1678 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1670 // | 1679 // |
1671 // You were going to just dump your switches here, weren't you? Instead, please | 1680 // You were going to just dump your switches here, weren't you? Instead, please |
1672 // put them in alphabetical order above, or in order inside the appropriate | 1681 // put them in alphabetical order above, or in order inside the appropriate |
1673 // ifdef at the bottom. The order should match the header. | 1682 // ifdef at the bottom. The order should match the header. |
1674 // ----------------------------------------------------------------------------- | 1683 // ----------------------------------------------------------------------------- |
1675 | 1684 |
1676 } // namespace switches | 1685 } // namespace switches |
OLD | NEW |