summaryrefslogtreecommitdiffstats
path: root/sync/tools
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-07 03:52:45 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-07 03:52:45 +0000
commit21cb28a3306ee9b5103089c961e837ac1cb88a0f (patch)
tree7d67d76b82f03895eb94d8c788d2a12ab77b0651 /sync/tools
parent2485c812faadb63569c571ca6d0d7f8ae7539073 (diff)
downloadchromium_src-21cb28a3306ee9b5103089c961e837ac1cb88a0f.zip
chromium_src-21cb28a3306ee9b5103089c961e837ac1cb88a0f.tar.gz
chromium_src-21cb28a3306ee9b5103089c961e837ac1cb88a0f.tar.bz2
sync: Use base::MessageLoop.
BUG=236029 R=akalin@chromium.org Review URL: https://chromiumcodereview.appspot.com/14113050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/tools')
-rw-r--r--sync/tools/sync_client.cc4
-rw-r--r--sync/tools/sync_listen_notifications.cc4
-rw-r--r--sync/tools/testserver/run_sync_testserver.cc2
3 files changed, 5 insertions, 5 deletions
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index 43b63f5..7623db1e 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -237,10 +237,10 @@ int SyncClientMain(int argc, char* argv[]) {
logging::DELETE_OLD_LOG_FILE,
logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS);
- MessageLoop sync_loop;
+ base::MessageLoop sync_loop;
base::Thread io_thread("IO thread");
base::Thread::Options options;
- options.message_loop_type = MessageLoop::TYPE_IO;
+ options.message_loop_type = base::MessageLoop::TYPE_IO;
io_thread.StartWithOptions(options);
// Parse command line.
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc
index 7a0624a..92fde0e 100644
--- a/sync/tools/sync_listen_notifications.cc
+++ b/sync/tools/sync_listen_notifications.cc
@@ -157,10 +157,10 @@ int SyncListenNotificationsMain(int argc, char* argv[]) {
logging::DELETE_OLD_LOG_FILE,
logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS);
- MessageLoop ui_loop;
+ base::MessageLoop ui_loop;
base::Thread io_thread("IO thread");
base::Thread::Options options;
- options.message_loop_type = MessageLoop::TYPE_IO;
+ options.message_loop_type = base::MessageLoop::TYPE_IO;
io_thread.StartWithOptions(options);
// Parse command line.
diff --git a/sync/tools/testserver/run_sync_testserver.cc b/sync/tools/testserver/run_sync_testserver.cc
index 00910fc..a13443f 100644
--- a/sync/tools/testserver/run_sync_testserver.cc
+++ b/sync/tools/testserver/run_sync_testserver.cc
@@ -70,7 +70,7 @@ static bool GetPortFromSwitch(const std::string& switch_name, uint16* port) {
int main(int argc, const char* argv[]) {
base::AtExitManager at_exit_manager;
- MessageLoopForIO message_loop;
+ base::MessageLoopForIO message_loop;
// Process command line
CommandLine::Init(argc, argv);