diff options
author | skyostil <skyostil@chromium.org> | 2015-06-17 08:46:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-17 15:46:47 +0000 |
commit | 8a033aaf2d76655ce5686cd80b36a759582dcd6d (patch) | |
tree | 30d8ad67ad8eef6ed14a4b7de82c809df50fa74c /sync/tools | |
parent | d5399555b35888360dea6c774236bcf573ef1bac (diff) | |
download | chromium_src-8a033aaf2d76655ce5686cd80b36a759582dcd6d.zip chromium_src-8a033aaf2d76655ce5686cd80b36a759582dcd6d.tar.gz chromium_src-8a033aaf2d76655ce5686cd80b36a759582dcd6d.tar.bz2 |
Migrate callers of message_loop_proxy() to task_runner()
Migrate callers of {MessageLoop,Thread}::message_loop_proxy() to
{MessageLoop,Thread}::task_runner(). Since the types at the call sites
have already been updated, this is just a bulk rename.
BUG=465354
TBR=armansito@chromium.org
Review URL: https://codereview.chromium.org/1179163002
Cr-Commit-Position: refs/heads/master@{#334840}
Diffstat (limited to 'sync/tools')
-rw-r--r-- | sync/tools/sync_client.cc | 2 | ||||
-rw-r--r-- | sync/tools/sync_listen_notifications.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc index a433fa9..f46d39b 100644 --- a/sync/tools/sync_client.cc +++ b/sync/tools/sync_client.cc @@ -330,7 +330,7 @@ int SyncClientMain(int argc, char* argv[]) { // Set up sync notifier factory. const scoped_refptr<MyTestURLRequestContextGetter> context_getter = - new MyTestURLRequestContextGetter(io_thread.message_loop_proxy()); + new MyTestURLRequestContextGetter(io_thread.task_runner()); const notifier::NotifierOptions& notifier_options = ParseNotifierOptions(command_line, context_getter); syncer::NetworkChannelCreator network_channel_creator = diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc index c6cc11f..6f6f534 100644 --- a/sync/tools/sync_listen_notifications.cc +++ b/sync/tools/sync_listen_notifications.cc @@ -179,7 +179,7 @@ int SyncListenNotificationsMain(int argc, char* argv[]) { const notifier::NotifierOptions& notifier_options = ParseNotifierOptions( command_line, - new MyTestURLRequestContextGetter(io_thread.message_loop_proxy())); + new MyTestURLRequestContextGetter(io_thread.task_runner())); syncer::NetworkChannelCreator network_channel_creator = syncer::NonBlockingInvalidator::MakePushClientChannelCreator( notifier_options); |