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

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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 const char kProxyPacUrl[] = "proxy-pac-url"; 877 const char kProxyPacUrl[] = "proxy-pac-url";
878 878
879 // Uses a specified proxy server, overrides system settings. This switch only 879 // Uses a specified proxy server, overrides system settings. This switch only
880 // affects HTTP and HTTPS requests. 880 // affects HTTP and HTTPS requests.
881 const char kProxyServer[] = "proxy-server"; 881 const char kProxyServer[] = "proxy-server";
882 882
883 // Specifies a comma separated list of QUIC connection options to send to 883 // Specifies a comma separated list of QUIC connection options to send to
884 // the server. 884 // the server.
885 const char kQuicConnectionOptions[] = "quic-connection-options"; 885 const char kQuicConnectionOptions[] = "quic-connection-options";
886 886
887 // Specifies a comma separated list of hosts to whitelist QUIC for.
888 const char kQuicHostWhitelist[] = "quic-host-whitelist";
889
887 // Specifies the maximum length for a QUIC packet. 890 // Specifies the maximum length for a QUIC packet.
888 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; 891 const char kQuicMaxPacketLength[] = "quic-max-packet-length";
889 892
890 // Specifies the version of QUIC to use. 893 // Specifies the version of QUIC to use.
891 const char kQuicVersion[] = "quic-version"; 894 const char kQuicVersion[] = "quic-version";
892 895
893 // Porvides a list of addresses to discover DevTools remote debugging targets. 896 // Porvides a list of addresses to discover DevTools remote debugging targets.
894 // The format is <host>:<port>,...,<host>:port. 897 // The format is <host>:<port>,...,<host>:port.
895 const char kRemoteDebuggingTargets[] = "remote-debugging-targets"; 898 const char kRemoteDebuggingTargets[] = "remote-debugging-targets";
896 899
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 1389
1387 // ----------------------------------------------------------------------------- 1390 // -----------------------------------------------------------------------------
1388 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1391 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1389 // 1392 //
1390 // You were going to just dump your switches here, weren't you? Instead, please 1393 // You were going to just dump your switches here, weren't you? Instead, please
1391 // put them in alphabetical order above, or in order inside the appropriate 1394 // put them in alphabetical order above, or in order inside the appropriate
1392 // ifdef at the bottom. The order should match the header. 1395 // ifdef at the bottom. The order should match the header.
1393 // ----------------------------------------------------------------------------- 1396 // -----------------------------------------------------------------------------
1394 1397
1395 } // namespace switches 1398 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/cronet/android/test/javatests/src/org/chromium/net/PkpTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698