| Index: components/network_session_configurator/common/network_switch_list.h
|
| diff --git a/components/network_session_configurator/common/network_switch_list.h b/components/network_session_configurator/common/network_switch_list.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5911fa1859794b113c9fe8c9b46c981ee8423d32
|
| --- /dev/null
|
| +++ b/components/network_session_configurator/common/network_switch_list.h
|
| @@ -0,0 +1,45 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// This file deliberately has no header guard, as it's inlined in a number of
|
| +// files.
|
| +
|
| +// Disables the QUIC protocol.
|
| +NETWORK_SWITCH(kDisableQuic, "disable-quic")
|
| +
|
| +// Disables the HTTP/2 protocol.
|
| +NETWORK_SWITCH(kDisableHttp2, "disable-http2")
|
| +
|
| +// Enables Alternate-Protocol when the port is user controlled (> 1024).
|
| +NETWORK_SWITCH(kEnableUserAlternateProtocolPorts,
|
| + "enable-user-controlled-alternate-protocol-ports")
|
| +
|
| +// Enables the QUIC protocol. This is a temporary testing flag.
|
| +NETWORK_SWITCH(kEnableQuic, "enable-quic")
|
| +
|
| +// Ignores certificate-related errors.
|
| +NETWORK_SWITCH(kIgnoreCertificateErrors, "ignore-certificate-errors")
|
| +
|
| +// Causes net::URLFetchers to ignore requests for SSL client certificates,
|
| +// causing them to attempt an unauthenticated SSL/TLS session. This is intended
|
| +// for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix,
|
| +// kSyncServiceURL, etc).
|
| +NETWORK_SWITCH(kIgnoreUrlFetcherCertRequests, "ignore-urlfetcher-cert-requests")
|
| +
|
| +// Specifies a comma separated list of host-port pairs to force use of QUIC on.
|
| +NETWORK_SWITCH(kOriginToForceQuicOn, "origin-to-force-quic-on")
|
| +
|
| +// Specifies a comma separated list of QUIC connection options to send to
|
| +// the server.
|
| +NETWORK_SWITCH(kQuicConnectionOptions, "quic-connection-options")
|
| +
|
| +// Specifies the maximum length for a QUIC packet.
|
| +NETWORK_SWITCH(kQuicMaxPacketLength, "quic-max-packet-length")
|
| +
|
| +// Specifies the version of QUIC to use.
|
| +NETWORK_SWITCH(kQuicVersion, "quic-version")
|
| +
|
| +// Allows for forcing socket connections to http/https to use fixed ports.
|
| +NETWORK_SWITCH(kTestingFixedHttpPort, "testing-fixed-http-port")
|
| +NETWORK_SWITCH(kTestingFixedHttpsPort, "testing-fixed-https-port")
|
|
|