Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: components/network_session_configurator/switches.cc

Issue 1892123003: Add components/network_session_configurator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #22. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/network_session_configurator/switches.h ('k') | content/browser/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 // clang-format off
Nico 2016/05/23 16:56:58 why? drop this
Bence 2016/05/23 23:25:39 Done.
10
11 // Disables the HTTP/2 and SPDY/3.1 protocols.
12 const char kDisableHttp2[] = "disable-http2";
13
14 // Disables the QUIC protocol.
15 const char kDisableQuic[] = "disable-quic";
16
17 // Disable use of Chromium's port selection for the ephemeral port via bind().
18 // This only has an effect if QUIC protocol is enabled.
19 const char kDisableQuicPortSelection[] = "disable-quic-port-selection";
20
21 // Enables support for HTTP alternative services.
22 const char kEnableAlternativeServices[] = "enable-alternative-services";
23
24 // Enables the QUIC protocol. This is a temporary testing flag.
25 const char kEnableQuic[] = "enable-quic";
26
27 // Enable use of Chromium's port selection for the ephemeral port via bind().
28 // This only has an effect if the QUIC protocol is enabled.
29 const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
30
31 // Ignores certificate-related errors.
32 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
33
34 // Causes net::URLFetchers to ignore requests for SSL client certificates,
35 // causing them to attempt an unauthenticated SSL/TLS session. This is intended
36 // for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix,
37 // kSyncServiceURL, etc)
38 const char kIgnoreUrlFetcherCertRequests[] = "ignore-urlfetcher-cert-requests";
39
40 // Specifies a comma separated list of host-port pairs to force use of QUIC on.
41 const char kOriginToForceQuicOn[] = "origin-to-force-quic-on";
42
43 // Specifies a comma separated list of QUIC connection options to send to
44 // the server.
45 const char kQuicConnectionOptions[] = "quic-connection-options";
46
47 // Specifies a comma separated list of hosts to whitelist QUIC for.
48 const char kQuicHostWhitelist[] = "quic-host-whitelist";
49
50 // Specifies the maximum length for a QUIC packet.
51 const char kQuicMaxPacketLength[] = "quic-max-packet-length";
52
53 // Specifies the version of QUIC to use.
54 const char kQuicVersion[] = "quic-version";
55
56 // Allows for forcing socket connections to http/https to use fixed ports.
57 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
58 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
59
60 // clang-format on
61
62 } // namespace switches
OLDNEW
« no previous file with comments | « components/network_session_configurator/switches.h ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698