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

Unified Diff: content/shell/browser/layout_test/layout_test_url_request_context_getter.cc

Issue 1730533002: Remove some usages of BrowserThread::UnsafeGetMessageLoopForThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reformatted. Created 4 years, 10 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/layout_test/layout_test_url_request_context_getter.cc
diff --git a/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc b/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
index 4674a58720acf2805db321ce31bf9b491ce5e724..22c0f162244186cca864440410ff5212f38e1ba5 100644
--- a/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
+++ b/content/shell/browser/layout_test/layout_test_url_request_context_getter.cc
@@ -17,15 +17,15 @@ namespace content {
LayoutTestURLRequestContextGetter::LayoutTestURLRequestContextGetter(
bool ignore_certificate_errors,
const base::FilePath& base_path,
- base::MessageLoop* io_loop,
- base::MessageLoop* file_loop,
+ scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> file_task_runner,
ProtocolHandlerMap* protocol_handlers,
URLRequestInterceptorScopedVector request_interceptors,
net::NetLog* net_log)
: ShellURLRequestContextGetter(ignore_certificate_errors,
base_path,
- io_loop,
- file_loop,
+ io_task_runner,
+ file_task_runner,
Ryan Sleevi 2016/02/25 20:50:14 drive by: you could std::move() these (like line 3
protocol_handlers,
std::move(request_interceptors),
net_log) {

Powered by Google App Engine
This is Rietveld 408576698