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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 2910643003: Move more SystemURLRequestContext members into its ContextStorage (Closed)
Patch Set: Response Created 3 years, 6 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 | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 644fd76b0ff6405def02008a4b389b14819acde0..f0c1f866d27599b7485d6d122f6bf6c9c4285f4b 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -1030,7 +1030,7 @@ void ProfileIOData::Init(
std::move(chrome_network_delegate));
main_request_context_->set_host_resolver(
- io_thread_globals->host_resolver.get());
+ io_thread_globals->system_request_context->host_resolver());
// NOTE: Proxy service uses the default io thread network delegate, not the
// delegate just created.
@@ -1097,7 +1097,8 @@ void ProfileIOData::Init(
extension_info_map_ = profile_params_->extension_info_map;
#endif
- resource_context_->host_resolver_ = io_thread_globals->host_resolver.get();
+ resource_context_->host_resolver_ =
+ io_thread_globals->system_request_context->host_resolver();
resource_context_->request_context_ = main_request_context_.get();
if (profile_params_->loading_predictor_observer_) {
@@ -1134,7 +1135,7 @@ void ProfileIOData::Init(
main_request_context_->set_cert_verifier(cert_verifier_.get());
#else
main_request_context_->set_cert_verifier(
- io_thread_globals->cert_verifier.get());
+ io_thread_globals->system_request_context->cert_verifier());
#endif
}
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698