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

Unified Diff: chrome/browser/io_thread.cc

Issue 2536723009: Make net::URLRequestContext a MemoryDumpProvider (Closed)
Patch Set: self review 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
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 958a495810cbcdf61e7cbfbbd20d352bd0237f42..c6dbc1cf18c61c8823959e10c8cf42152d384acc 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());
@@ -1065,6 +1066,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/profile_io_data.cc » ('j') | chrome/browser/profiles/profile_io_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698