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

Unified Diff: chrome/browser/io_thread.cc

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: Fix test 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
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 662c9e7b349f2cd1359adea8257f4aa60cd90f37..f58d3b590a86293ef19a5f8b2178100952fd1acc 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -894,6 +894,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_string("systems");
eroman 2016/11/29 22:22:50 nit: systems --> system
xunjieli 2016/11/30 16:02:03 Done.
context->set_http_transaction_factory(
globals->system_http_transaction_factory.get());
@@ -1047,6 +1048,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_string("proxy");
context->set_http_transaction_factory(
globals->proxy_script_fetcher_http_transaction_factory.get());

Powered by Google App Engine
This is Rietveld 408576698