OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/network_session_configurator/switches.h" |
| 6 |
| 7 namespace switches { |
| 8 |
| 9 // Disables the HTTP/2 and SPDY/3.1 protocols. |
| 10 const char kDisableHttp2[] = "disable-http2"; |
| 11 |
| 12 // Disables the QUIC protocol. |
| 13 const char kDisableQuic[] = "disable-quic"; |
| 14 |
| 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. |
| 17 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; |
| 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. |
| 23 const char kEnableQuic[] = "enable-quic"; |
| 24 |
| 25 // 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. |
| 27 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; |
| 28 |
| 29 // Ignores certificate-related errors. |
| 30 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 31 |
| 32 // Causes net::URLFetchers to ignore requests for SSL client certificates, |
| 33 // causing them to attempt an unauthenticated SSL/TLS session. This is intended |
| 34 // for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix, |
| 35 // kSyncServiceURL, etc) |
| 36 const char kIgnoreUrlFetcherCertRequests[] = "ignore-urlfetcher-cert-requests"; |
| 37 |
| 38 // Specifies a comma separated list of host-port pairs to force use of QUIC on. |
| 39 const char kOriginToForceQuicOn[] = "origin-to-force-quic-on"; |
| 40 |
| 41 // Specifies a comma separated list of QUIC connection options to send to |
| 42 // the server. |
| 43 const char kQuicConnectionOptions[] = "quic-connection-options"; |
| 44 |
| 45 // Specifies a comma separated list of hosts to whitelist QUIC for. |
| 46 const char kQuicHostWhitelist[] = "quic-host-whitelist"; |
| 47 |
| 48 // Specifies the maximum length for a QUIC packet. |
| 49 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; |
| 50 |
| 51 // Specifies the version of QUIC to use. |
| 52 const char kQuicVersion[] = "quic-version"; |
| 53 |
| 54 // Allows for forcing socket connections to http/https to use fixed ports. |
| 55 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 56 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 57 |
| 58 } // namespace switches |
OLD | NEW |