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

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

Issue 1986633002: Enable AltSvc pooling by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update trial logic and tests. Created 4 years, 6 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') | net/http/http_network_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/network_session_configurator/switches.h ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698