summaryrefslogtreecommitdiffstats
path: root/sync/tools
diff options
context:
space:
mode:
Diffstat (limited to 'sync/tools')
-rw-r--r--sync/tools/sync_client.cc4
-rw-r--r--sync/tools/sync_listen_notifications.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index 2b626db..6f3e9e3 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
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc
index e924e53..7a3279b 100644
--- a/sync/tools/sync_listen_notifications.cc
+++ b/sync/tools/sync_listen_notifications.cc
@@ -92,8 +92,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