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

Unified Diff: chrome/browser/io_thread.h

Issue 1574423003: Revert of Add a whitelist for QUIC hosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 763273fd8c503372330529e8c228569e80b8c51e..b7ca041b63978eeeddf1ec4473125169e29ce5d3 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -11,7 +11,6 @@
#include <map>
#include <set>
#include <string>
-#include <unordered_set>
#include <vector>
#include "base/compiler_specific.h"
@@ -240,7 +239,6 @@
Optional<bool> quic_close_sessions_on_ip_change;
Optional<int> quic_idle_connection_timeout_seconds;
Optional<bool> quic_disable_preconnect_if_0rtt;
- std::unordered_set<std::string> quic_host_whitelist;
bool enable_user_alternate_protocol_ports;
// NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
// main frame load fails with a DNS error in order to provide more useful
@@ -463,11 +461,6 @@
static bool ShouldQuicDisablePreConnectIfZeroRtt(
const VariationParameters& quic_trial_params);
- // Returns the set of hosts to whitelist for QUIC.
- static std::unordered_set<std::string> GetQuicHostWhitelist(
- const base::CommandLine& command_line,
- const VariationParameters& quic_trial_params);
-
// Returns the maximum length for QUIC packets, based on any flags in
// |command_line| or the field trial. Returns 0 if there is an error
// parsing any of the options, or if the default value should be used.
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698