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

Side by Side Diff: sync/tools/testserver/run_sync_testserver.cc

Issue 19627002: Use a direct include of the message_loop header in ppapi/, printing/, rlz/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/tools/sync_listen_notifications.cc ('k') | sync/util/get_session_name_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdio.h> 5 #include <stdio.h>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/process_util.h" 12 #include "base/process_util.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/test/test_timeouts.h" 14 #include "base/test/test_timeouts.h"
15 #include "net/test/python_utils.h" 15 #include "net/test/python_utils.h"
16 #include "sync/test/local_sync_test_server.h" 16 #include "sync/test/local_sync_test_server.h"
17 17
18 static void PrintUsage() { 18 static void PrintUsage() {
19 printf("run_sync_testserver [--port=<port>] [--xmpp-port=<xmpp_port>]\n"); 19 printf("run_sync_testserver [--port=<port>] [--xmpp-port=<xmpp_port>]\n");
20 } 20 }
21 21
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 printf("Error: failed to start python sync test server. Exiting.\n"); 111 printf("Error: failed to start python sync test server. Exiting.\n");
112 return -1; 112 return -1;
113 } 113 }
114 114
115 printf("Python sync test server running at %s (type ctrl+c to exit)\n", 115 printf("Python sync test server running at %s (type ctrl+c to exit)\n",
116 test_server->host_port_pair().ToString().c_str()); 116 test_server->host_port_pair().ToString().c_str());
117 117
118 message_loop.Run(); 118 message_loop.Run();
119 return 0; 119 return 0;
120 } 120 }
OLDNEW
« no previous file with comments | « sync/tools/sync_listen_notifications.cc ('k') | sync/util/get_session_name_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698