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

Unified Diff: net/http/http_server_properties_manager_unittest.cc

Issue 1397983007: relnote: remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rch_insecure_quic
Patch Set: Compile fix 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
« no previous file with comments | « net/http/http_server_properties_impl_unittest.cc ('k') | net/quic/crypto/crypto_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..14418859a4564c81d2f8066ed87c64dd824ba8a6 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);
@@ -959,7 +959,7 @@ TEST_F(HttpServerPropertiesManagerTest, UpdateCacheWithPrefs) {
// Verify preferences.
const char expected_json[] =
- "{\"quic_servers\":{\"http://"
+ "{\"quic_servers\":{\"https://"
"mail.google.com:80\":{\"server_info\":\"quic_server_info1\"}},"
"\"servers\":{\"mail.google.com:80\":{\"alternative_service\":[{"
"\"expiration\":\"9223372036854775807\",\"host\":\"foo.google.com\","
« no previous file with comments | « net/http/http_server_properties_impl_unittest.cc ('k') | net/quic/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698