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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 346043002: Add support for setting QUIC connection options via field trial config. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better Windows fix Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/http/http_network_session.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. 1029 // "net/proxy/proxy_bypass_rules.h" for the format of these rules.
1030 const char kProxyBypassList[] = "proxy-bypass-list"; 1030 const char kProxyBypassList[] = "proxy-bypass-list";
1031 1031
1032 // Uses the pac script at the given URL 1032 // Uses the pac script at the given URL
1033 const char kProxyPacUrl[] = "proxy-pac-url"; 1033 const char kProxyPacUrl[] = "proxy-pac-url";
1034 1034
1035 // Uses a specified proxy server, overrides system settings. This switch only 1035 // Uses a specified proxy server, overrides system settings. This switch only
1036 // affects HTTP and HTTPS requests. 1036 // affects HTTP and HTTPS requests.
1037 const char kProxyServer[] = "proxy-server"; 1037 const char kProxyServer[] = "proxy-server";
1038 1038
1039 // Specifies a comma separated list of QUIC connection options to send to
1040 // the server.
1041 const char kQuicConnectionOptions[] = "quic-connection-options";
1042
1039 // Specifies the maximum length for a QUIC packet. 1043 // Specifies the maximum length for a QUIC packet.
1040 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; 1044 const char kQuicMaxPacketLength[] = "quic-max-packet-length";
1041 1045
1042 // Specifies the version of QUIC to use. 1046 // Specifies the version of QUIC to use.
1043 const char kQuicVersion[] = "quic-version"; 1047 const char kQuicVersion[] = "quic-version";
1044 1048
1045 // Chrome supports a playback and record mode. Record mode saves *everything* 1049 // Chrome supports a playback and record mode. Record mode saves *everything*
1046 // to the cache. Playback mode reads data exclusively from the cache. This 1050 // to the cache. Playback mode reads data exclusively from the cache. This
1047 // allows us to record a session into the cache and then replay it at will. 1051 // allows us to record a session into the cache and then replay it at will.
1048 // See also kPlaybackMode. 1052 // See also kPlaybackMode.
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 1414
1411 // ----------------------------------------------------------------------------- 1415 // -----------------------------------------------------------------------------
1412 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1416 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1413 // 1417 //
1414 // You were going to just dump your switches here, weren't you? Instead, please 1418 // You were going to just dump your switches here, weren't you? Instead, please
1415 // put them in alphabetical order above, or in order inside the appropriate 1419 // put them in alphabetical order above, or in order inside the appropriate
1416 // ifdef at the bottom. The order should match the header. 1420 // ifdef at the bottom. The order should match the header.
1417 // ----------------------------------------------------------------------------- 1421 // -----------------------------------------------------------------------------
1418 1422
1419 } // namespace switches 1423 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/http/http_network_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698