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: components/gcm_driver/gcm_client_impl.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
Index: components/gcm_driver/gcm_client_impl.cc
diff --git a/components/gcm_driver/gcm_client_impl.cc b/components/gcm_driver/gcm_client_impl.cc
index a0b30d5f9cbd1d9a2016b7bf01b36e1a776aac34..8754ba29f84861d58ca02b9409a8aef37c9bcbaf 100644
--- a/components/gcm_driver/gcm_client_impl.cc
+++ b/components/gcm_driver/gcm_client_impl.cc
@@ -325,7 +325,11 @@ void GCMClientImpl::Initialize(
url_request_context_getter_->GetURLRequestContext()->
GetNetworkSessionParams();
DCHECK(network_session_params);
- network_session_.reset(new net::HttpNetworkSession(*network_session_params));
+ const net::HttpNetworkSession::Context* network_session_context =
+ url_request_context_getter_->GetURLRequestContext()
+ ->GetNetworkSessionContext();
+ network_session_.reset(new net::HttpNetworkSession(*network_session_params,
+ *network_session_context));
chrome_build_info_ = chrome_build_info;

Powered by Google App Engine
This is Rietveld 408576698