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

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

Issue 1580583002: Add a whitelist for QUIC hosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 4 years, 11 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
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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 const char kProxyPacUrl[] = "proxy-pac-url"; 882 const char kProxyPacUrl[] = "proxy-pac-url";
883 883
884 // Uses a specified proxy server, overrides system settings. This switch only 884 // Uses a specified proxy server, overrides system settings. This switch only
885 // affects HTTP and HTTPS requests. 885 // affects HTTP and HTTPS requests.
886 const char kProxyServer[] = "proxy-server"; 886 const char kProxyServer[] = "proxy-server";
887 887
888 // Specifies a comma separated list of QUIC connection options to send to 888 // Specifies a comma separated list of QUIC connection options to send to
889 // the server. 889 // the server.
890 const char kQuicConnectionOptions[] = "quic-connection-options"; 890 const char kQuicConnectionOptions[] = "quic-connection-options";
891 891
892 // Specifies a comma separated list of hosts to whitelist QUIC for.
893 const char kQuicHostWhitelist[] = "quic-host-whitelist";
894
892 // Specifies the maximum length for a QUIC packet. 895 // Specifies the maximum length for a QUIC packet.
893 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; 896 const char kQuicMaxPacketLength[] = "quic-max-packet-length";
894 897
895 // Specifies the version of QUIC to use. 898 // Specifies the version of QUIC to use.
896 const char kQuicVersion[] = "quic-version"; 899 const char kQuicVersion[] = "quic-version";
897 900
898 // Porvides a list of addresses to discover DevTools remote debugging targets. 901 // Porvides a list of addresses to discover DevTools remote debugging targets.
899 // The format is <host>:<port>,...,<host>:port. 902 // The format is <host>:<port>,...,<host>:port.
900 const char kRemoteDebuggingTargets[] = "remote-debugging-targets"; 903 const char kRemoteDebuggingTargets[] = "remote-debugging-targets";
901 904
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 1390
1388 // ----------------------------------------------------------------------------- 1391 // -----------------------------------------------------------------------------
1389 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1392 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1390 // 1393 //
1391 // You were going to just dump your switches here, weren't you? Instead, please 1394 // You were going to just dump your switches here, weren't you? Instead, please
1392 // put them in alphabetical order above, or in order inside the appropriate 1395 // put them in alphabetical order above, or in order inside the appropriate
1393 // ifdef at the bottom. The order should match the header. 1396 // ifdef at the bottom. The order should match the header.
1394 // ----------------------------------------------------------------------------- 1397 // -----------------------------------------------------------------------------
1395 1398
1396 } // namespace switches 1399 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698