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

Unified Diff: net/log/bounded_file_net_log_observer_unittest.cc

Issue 2318053004: Remove obsolete QUIC disabling code. (Closed)
Patch Set: fix Created 4 years, 3 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/log/bounded_file_net_log_observer_unittest.cc
diff --git a/net/log/bounded_file_net_log_observer_unittest.cc b/net/log/bounded_file_net_log_observer_unittest.cc
index fe20aae08d1424f2d0e5d39bc9c1f41cd1bf1ccb..6998995f74141d5102437f8099ab58a1574b35bc 100644
--- a/net/log/bounded_file_net_log_observer_unittest.cc
+++ b/net/log/bounded_file_net_log_observer_unittest.cc
@@ -772,7 +772,6 @@ TEST_F(BoundedFileNetLogObserverTest, GeneratesValidJSONWithContext) {
const int kDummyParam = 75;
std::unique_ptr<HttpNetworkSession::Params> params(
new HttpNetworkSession::Params);
- params->quic_max_number_of_lossy_connections = kDummyParam;
params->quic_idle_connection_timeout_seconds = kDummyParam;
context.set_http_network_session_params(std::move(params));
context.Init();
@@ -802,15 +801,11 @@ TEST_F(BoundedFileNetLogObserverTest, GeneratesValidJSONWithContext) {
ASSERT_TRUE(dict->GetDictionary("tabInfo", &tab_info));
ASSERT_TRUE(tab_info->GetDictionary("quicInfo", &quic_info));
base::Value* timeout_value = nullptr;
- base::Value* lossy_value = nullptr;
- int timeout, lossy;
+ int timeout;
ASSERT_TRUE(
quic_info->Get("idle_connection_timeout_seconds", &timeout_value));
ASSERT_TRUE(timeout_value->GetAsInteger(&timeout));
ASSERT_EQ(timeout, kDummyParam);
- ASSERT_TRUE(quic_info->Get("max_number_of_lossy_connections", &lossy_value));
- ASSERT_TRUE(lossy_value->GetAsInteger(&lossy));
- ASSERT_EQ(lossy, kDummyParam);
}
TEST_F(BoundedFileNetLogObserverTest,

Powered by Google App Engine
This is Rietveld 408576698