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

Unified Diff: chrome/browser/io_thread.cc

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (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 662c9e7b349f2cd1359adea8257f4aa60cd90f37..748adbb4953462c0d2d13feca40c12c319f52a7a 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("system");
eroman 2016/12/01 21:04:37 maybe "set_name()" is sufficient?
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());
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_io_data.cc » ('j') | chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698