diff options
author | maniscalco@chromium.org <maniscalco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-09 21:28:09 +0000 |
---|---|---|
committer | maniscalco@chromium.org <maniscalco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-09 21:28:09 +0000 |
commit | ee301a9906e35092f5c199e669e46e63c866ed5e (patch) | |
tree | 108808fd01bcb0b07463e6abb8254837851e4a4f /sync/tools | |
parent | e59bbf24d251334c0d744f7ee4dfdf4113c3cb83 (diff) | |
download | chromium_src-ee301a9906e35092f5c199e669e46e63c866ed5e.zip chromium_src-ee301a9906e35092f5c199e669e46e63c866ed5e.tar.gz chromium_src-ee301a9906e35092f5c199e669e46e63c866ed5e.tar.bz2 |
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
Diffstat (limited to 'sync/tools')
-rw-r--r-- | sync/tools/sync_client.cc | 4 | ||||
-rw-r--r-- | sync/tools/sync_listen_notifications.cc | 4 |
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 |