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

Unified Diff: chrome/browser/io_thread.cc

Issue 2536723009: Make net::URLRequestContext a MemoryDumpProvider (Closed)
Patch Set: fix compile Created 4 years 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 | « no previous file | chrome/browser/profiles/off_the_record_profile_io_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 5d3f90243d8c84eda3fa5a35ab96e32a1b023164..5273d99fc8d9c794ec249b951a0163b6d775dd11 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -912,6 +912,7 @@ net::URLRequestContext* IOThread::ConstructSystemRequestContext(
new net::HttpNetworkSession(system_params));
globals->system_http_transaction_factory.reset(
new net::HttpNetworkLayer(globals->system_http_network_session.get()));
+ context->set_name("system");
context->set_http_transaction_factory(
globals->system_http_transaction_factory.get());
@@ -1059,6 +1060,7 @@ net::URLRequestContext* IOThread::ConstructProxyScriptFetcherContext(
globals->proxy_script_fetcher_http_transaction_factory.reset(
new net::HttpNetworkLayer(
globals->proxy_script_fetcher_http_network_session.get()));
+ context->set_name("proxy");
context->set_http_transaction_factory(
globals->proxy_script_fetcher_http_transaction_factory.get());
« no previous file with comments | « no previous file | chrome/browser/profiles/off_the_record_profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698