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

Unified Diff: net/http/http_server_properties_manager_unittest.cc

Issue 1411063004: Remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: net/http/http_server_properties_manager_unittest.cc
diff --git a/net/http/http_server_properties_manager_unittest.cc b/net/http/http_server_properties_manager_unittest.cc
index cf32d38450fbd27442895e29e1527f9f30db1fde..1f872f6bda9ba6f5f7043afe03da89844817dd66 100644
--- a/net/http/http_server_properties_manager_unittest.cc
+++ b/net/http/http_server_properties_manager_unittest.cc
@@ -262,11 +262,11 @@ TEST_F(HttpServerPropertiesManagerTest,
quic_server_pref_dict2->SetStringWithoutPathExpansion("server_info",
quic_server_info2);
// Set the quic_server_info1 for www.google.com server.
- QuicServerId google_quic_server_id("www.google.com", 80, false);
+ QuicServerId google_quic_server_id("www.google.com", 80);
quic_servers_dict->SetWithoutPathExpansion(google_quic_server_id.ToString(),
quic_server_pref_dict1);
// Set the quic_server_info2 for mail.google.com server.
- QuicServerId mail_quic_server_id("mail.google.com", 80, false);
+ QuicServerId mail_quic_server_id("mail.google.com", 80);
quic_servers_dict->SetWithoutPathExpansion(mail_quic_server_id.ToString(),
quic_server_pref_dict2);
http_server_properties_dict->SetWithoutPathExpansion("quic_servers",
@@ -748,7 +748,7 @@ TEST_F(HttpServerPropertiesManagerTest, QuicServerInfo) {
ExpectPrefsUpdate();
ExpectScheduleUpdatePrefsOnNetworkThread();
- QuicServerId mail_quic_server_id("mail.google.com", 80, false);
+ QuicServerId mail_quic_server_id("mail.google.com", 80);
EXPECT_EQ(nullptr,
http_server_props_manager_->GetQuicServerInfo(mail_quic_server_id));
std::string quic_server_info1("quic_server_info1");
@@ -782,7 +782,7 @@ TEST_F(HttpServerPropertiesManagerTest, Clear) {
stats.srtt = base::TimeDelta::FromMicroseconds(10);
http_server_props_manager_->SetServerNetworkStats(spdy_server_mail, stats);
- QuicServerId mail_quic_server_id("mail.google.com", 80, false);
+ QuicServerId mail_quic_server_id("mail.google.com", 80);
std::string quic_server_info1("quic_server_info1");
http_server_props_manager_->SetQuicServerInfo(mail_quic_server_id,
quic_server_info1);
@@ -941,7 +941,7 @@ TEST_F(HttpServerPropertiesManagerTest, UpdateCacheWithPrefs) {
http_server_props_manager_->SetServerNetworkStats(server_mail, stats);
// Set quic_server_info string.
- QuicServerId mail_quic_server_id("mail.google.com", 80, false);
+ QuicServerId mail_quic_server_id("mail.google.com", 80);
std::string quic_server_info1("quic_server_info1");
http_server_props_manager_->SetQuicServerInfo(mail_quic_server_id,
quic_server_info1);

Powered by Google App Engine
This is Rietveld 408576698