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

Unified Diff: ios/components/io_thread/ios_io_thread.mm

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 | « ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc ('k') | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/components/io_thread/ios_io_thread.mm
diff --git a/ios/components/io_thread/ios_io_thread.mm b/ios/components/io_thread/ios_io_thread.mm
index 59b6047cc148b9ea9c8f2ca84ee08832d9d30370..fd4c2d6892e4f06672cb4d1ea95a74d0e34a6283 100644
--- a/ios/components/io_thread/ios_io_thread.mm
+++ b/ios/components/io_thread/ios_io_thread.mm
@@ -513,12 +513,12 @@ net::URLRequestContext* IOSIOThread::ConstructSystemRequestContext(
context->set_http_server_properties(globals->http_server_properties.get());
- net::HttpNetworkSession::Params system_params(params);
+ net::HttpNetworkSession::Context system_context;
net::URLRequestContextBuilder::SetHttpNetworkSessionComponents(
- context, &system_params);
+ context, &system_context);
globals->system_http_network_session.reset(
- new net::HttpNetworkSession(system_params));
+ new net::HttpNetworkSession(params, system_context));
globals->system_http_transaction_factory.reset(
new net::HttpNetworkLayer(globals->system_http_network_session.get()));
context->set_http_transaction_factory(
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc ('k') | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698