From ee301a9906e35092f5c199e669e46e63c866ed5e Mon Sep 17 00:00:00 2001 From: "maniscalco@chromium.org" Date: Wed, 9 Jul 2014 21:28:09 +0000 Subject: Replace MessageLoopProxy with ThreadTaskRunnerHandle in src/sync/. MessageLoopProxy is deprecated. BUG=391045 Review URL: https://codereview.chromium.org/375403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282129 0039d316-1c4b-4281-b951-d872f2087c98 --- sync/tools/sync_client.cc | 4 ++-- sync/tools/sync_listen_notifications.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sync/tools') 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& io_message_loop_proxy) - : TestURLRequestContextGetter(io_message_loop_proxy) {} + const scoped_refptr& 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& io_message_loop_proxy) - : TestURLRequestContextGetter(io_message_loop_proxy) {} + const scoped_refptr& io_task_runner) + : TestURLRequestContextGetter(io_task_runner) {} virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { // Construct |context_| lazily so it gets constructed on the right -- cgit v1.1