Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: components/sync/tools/testserver/run_sync_testserver.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/sync/tools/testserver/run_sync_testserver.cc
diff --git a/components/sync/tools/testserver/run_sync_testserver.cc b/components/sync/tools/testserver/run_sync_testserver.cc
index 8c80ca0a69322930ef79f0cc99edbe6ae43ca503..b7df94ca5dc295cca332d9bf2c3be15cb3423ac2 100644
--- a/components/sync/tools/testserver/run_sync_testserver.cc
+++ b/components/sync/tools/testserver/run_sync_testserver.cc
@@ -11,6 +11,7 @@
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
#include "base/process/launch.h"
+#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/test_timeouts.h"
#include "components/sync/test/local_sync_test_server.h"
@@ -116,6 +117,6 @@ int main(int argc, const char* argv[]) {
printf("Python sync test server running at %s (type ctrl+c to exit)\n",
test_server->host_port_pair().ToString().c_str());
- message_loop.Run();
+ base::RunLoop().Run();
return 0;
}
« no previous file with comments | « components/sync/driver/ui_data_type_controller_unittest.cc ('k') | components/sync_sessions/favicon_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698