OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/network_session_configurator/switches.h" | 5 #include "components/network_session_configurator/switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Disables the HTTP/2 and SPDY/3.1 protocols. | 9 // Disables the HTTP/2 and SPDY/3.1 protocols. |
10 const char kDisableHttp2[] = "disable-http2"; | 10 const char kDisableHttp2[] = "disable-http2"; |
11 | 11 |
12 // Disables the QUIC protocol. | 12 // Disables the QUIC protocol. |
13 const char kDisableQuic[] = "disable-quic"; | 13 const char kDisableQuic[] = "disable-quic"; |
14 | 14 |
15 // Disable use of Chromium's port selection for the ephemeral port via bind(). | 15 // Disable use of Chromium's port selection for the ephemeral port via bind(). |
16 // This only has an effect if QUIC protocol is enabled. | 16 // This only has an effect if QUIC protocol is enabled. |
17 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; | 17 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
18 | 18 |
19 // Enables support for HTTP alternative services. | |
20 const char kEnableAlternativeServices[] = "enable-alternative-services"; | |
21 | |
22 // Enables the QUIC protocol. This is a temporary testing flag. | 19 // Enables the QUIC protocol. This is a temporary testing flag. |
23 const char kEnableQuic[] = "enable-quic"; | 20 const char kEnableQuic[] = "enable-quic"; |
24 | 21 |
25 // Enable use of Chromium's port selection for the ephemeral port via bind(). | 22 // Enable use of Chromium's port selection for the ephemeral port via bind(). |
26 // This only has an effect if the QUIC protocol is enabled. | 23 // This only has an effect if the QUIC protocol is enabled. |
27 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; | 24 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; |
28 | 25 |
29 // Ignores certificate-related errors. | 26 // Ignores certificate-related errors. |
30 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 27 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
31 | 28 |
(...skipping 17 matching lines...) Expand all Loading... |
49 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; | 46 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; |
50 | 47 |
51 // Specifies the version of QUIC to use. | 48 // Specifies the version of QUIC to use. |
52 const char kQuicVersion[] = "quic-version"; | 49 const char kQuicVersion[] = "quic-version"; |
53 | 50 |
54 // Allows for forcing socket connections to http/https to use fixed ports. | 51 // Allows for forcing socket connections to http/https to use fixed ports. |
55 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 52 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
56 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 53 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
57 | 54 |
58 } // namespace switches | 55 } // namespace switches |
OLD | NEW |