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

Unified Diff: sync/tools/sync_client.cc

Issue 375403002: Replace MessageLoopProxy with ThreadTaskRunnerHandle in src/sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: sync/tools/sync_client.cc
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index 2b626db4198b5479ebd9aa3b86e2541329cbbfa3..6f3e9e3ba15c07d53b591cf8fdbd5a99a079d345 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -82,8 +82,8 @@ class MyTestURLRequestContext : public net::TestURLRequestContext {
class MyTestURLRequestContextGetter : public net::TestURLRequestContextGetter {
public:
explicit MyTestURLRequestContextGetter(
- const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy)
- : TestURLRequestContextGetter(io_message_loop_proxy) {}
+ const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner)
+ : TestURLRequestContextGetter(io_task_runner) {}
virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE {
// Construct |context_| lazily so it gets constructed on the right

Powered by Google App Engine
This is Rietveld 408576698