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

Unified Diff: net/nqe/network_quality_estimator_unittest.cc

Issue 2907463002: Split HttpNetworkSession::Params into two structs. (Closed)
Patch Set: Response to comments Created 3 years, 7 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_stream_factory_impl_unittest.cc ('k') | net/proxy/proxy_script_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/network_quality_estimator_unittest.cc
diff --git a/net/nqe/network_quality_estimator_unittest.cc b/net/nqe/network_quality_estimator_unittest.cc
index fe4d359d22a62c5c4aa5c04886dd9b3ae4692a32..4f7941ed9fda5ee41ed586d8754bcadb162ec790 100644
--- a/net/nqe/network_quality_estimator_unittest.cc
+++ b/net/nqe/network_quality_estimator_unittest.cc
@@ -2157,12 +2157,12 @@ TEST(NetworkQualityEstimatorTest, MAYBE_TestTCPSocketRTT) {
TestURLRequestContext context(true);
context.set_network_quality_estimator(&estimator);
- std::unique_ptr<HttpNetworkSession::Params> params(
- new HttpNetworkSession::Params);
+ std::unique_ptr<HttpNetworkSession::Context> session_context(
+ new HttpNetworkSession::Context);
// |estimator| should be notified of TCP RTT observations.
- params->socket_performance_watcher_factory =
+ session_context->socket_performance_watcher_factory =
estimator.GetSocketPerformanceWatcherFactory();
- context.set_http_network_session_params(std::move(params));
+ context.set_http_network_session_context(std::move(session_context));
context.Init();
EXPECT_EQ(0U, rtt_observer.observations().size());
« no previous file with comments | « net/http/http_stream_factory_impl_unittest.cc ('k') | net/proxy/proxy_script_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698