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

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

Issue 2414883005: TEMP DO NOT LAND (Closed)
Patch Set: tmp Created 4 years, 1 month 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/io_thread.cc ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | 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 1351f9c8efc877db0f2b8525fa5268dca974c7af..1ed5f50180b3e9361f0c8bd6b5b6267b48217cc2 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -560,6 +560,7 @@ ProfileIOData::MediaRequestContext::MediaRequestContext() {
void ProfileIOData::MediaRequestContext::SetHttpTransactionFactory(
std::unique_ptr<net::HttpTransactionFactory> http_factory) {
http_factory_ = std::move(http_factory);
+ set_name_string("media");
set_http_transaction_factory(http_factory_.get());
}
@@ -590,6 +591,7 @@ void ProfileIOData::AppRequestContext::SetHttpNetworkSession(
void ProfileIOData::AppRequestContext::SetHttpTransactionFactory(
std::unique_ptr<net::HttpTransactionFactory> http_factory) {
http_factory_ = std::move(http_factory);
+ set_name_string("app_request");
set_http_transaction_factory(http_factory_.get());
}
@@ -1022,6 +1024,8 @@ void ProfileIOData::Init(
main_request_context_storage_.reset(
new net::URLRequestContextStorage(main_request_context_.get()));
extensions_request_context_.reset(new net::URLRequestContext());
+ main_request_context_->set_name_string("main");
+ extensions_request_context_->set_name_string("extensions");
main_request_context_->set_enable_brotli(io_thread_globals->enable_brotli);
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698