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

Unified Diff: net/quic/quic_network_transaction_unittest.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/transport_security_state.cc ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_network_transaction_unittest.cc
diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc
index b67d6461d8869ee626e5d36eecb9ebe4a2ee0cd7..e4ccdc71331261647a033c3a506ac0a71dcfd38a 100644
--- a/net/quic/quic_network_transaction_unittest.cc
+++ b/net/quic/quic_network_transaction_unittest.cc
@@ -431,6 +431,12 @@ class QuicNetworkTransactionTest
params_.http_auth_handler_factory = auth_handler_factory_.get();
params_.http_server_properties = http_server_properties_.GetWeakPtr();
params_.quic_supported_versions = SupportedVersions(GetParam());
+ for (const char* host :
+ {kDefaultServerHostName, "www.example.com", "news.example.com",
+ "bar.example.com", "foo.example.com", "www.example.org",
+ "invalid.example.org", "docs.example.org"}) {
+ params_.quic_host_whitelist.insert(host);
+ }
test_network_quality_estimator_->AddRTTObserver(&rtt_observer_);
« no previous file with comments | « net/http/transport_security_state.cc ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698