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

Unified Diff: content/shell/browser/shell_url_request_context_getter.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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: content/shell/browser/shell_url_request_context_getter.cc
diff --git a/content/shell/browser/shell_url_request_context_getter.cc b/content/shell/browser/shell_url_request_context_getter.cc
index a0708972ddfba3d7c6f2cfa5aa62be98aa7b6edc..c682de64bef79aa5ab5add390ba741cb4b492ff7 100644
--- a/content/shell/browser/shell_url_request_context_getter.cc
+++ b/content/shell/browser/shell_url_request_context_getter.cc
@@ -173,7 +173,7 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() {
net::CACHE_BACKEND_DEFAULT,
#endif
cache_path, 0,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::CACHE)));
net::HttpNetworkSession::Params network_session_params;
network_session_params.cert_verifier =
@@ -266,7 +266,7 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() {
scoped_refptr<base::SingleThreadTaskRunner>
ShellURLRequestContextGetter::GetNetworkTaskRunner() const {
- return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO);
+ return BrowserThread::GetTaskRunnerForThread(BrowserThread::IO);
}
net::HostResolver* ShellURLRequestContextGetter::host_resolver() {
« no previous file with comments | « content/shell/browser/shell_browser_context.cc ('k') | device/media_transfer_protocol/media_transfer_protocol_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698