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

Side by Side Diff: sync/test/local_sync_test_server.h

Issue 14691006: Move SpawnedTestServer to its own subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 7 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/internal_api/http_bridge_unittest.cc ('k') | sync/test/local_sync_test_server.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 #ifndef SYNC_TEST_LOCAL_SYNC_TEST_SERVER_H_ 5 #ifndef SYNC_TEST_LOCAL_SYNC_TEST_SERVER_H_
6 #define SYNC_TEST_LOCAL_SYNC_TEST_SERVER_H_ 6 #define SYNC_TEST_LOCAL_SYNC_TEST_SERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "net/test/local_test_server.h" 10 #include "net/test/spawned_test_server/local_test_server.h"
11 11
12 namespace syncer { 12 namespace syncer {
13 13
14 // Runs a Python-based sync test server on the same machine on which the 14 // Runs a Python-based sync test server on the same machine on which the
15 // LocalSyncTestServer runs. 15 // LocalSyncTestServer runs.
16 class LocalSyncTestServer : public net::LocalTestServer { 16 class LocalSyncTestServer : public net::LocalTestServer {
17 public: 17 public:
18 // Initialize a sync server that listens on localhost using ephemeral ports 18 // Initialize a sync server that listens on localhost using ephemeral ports
19 // for sync and p2p notifications. 19 // for sync and p2p notifications.
20 LocalSyncTestServer(); 20 LocalSyncTestServer();
(...skipping 19 matching lines...) Expand all
40 private: 40 private:
41 // Port on which the Sync XMPP server listens. 41 // Port on which the Sync XMPP server listens.
42 uint16 xmpp_port_; 42 uint16 xmpp_port_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(LocalSyncTestServer); 44 DISALLOW_COPY_AND_ASSIGN(LocalSyncTestServer);
45 }; 45 };
46 46
47 } // namespace syncer 47 } // namespace syncer
48 48
49 #endif // SYNC_TEST_LOCAL_SYNC_TEST_SERVER_H_ 49 #endif // SYNC_TEST_LOCAL_SYNC_TEST_SERVER_H_
OLDNEW
« no previous file with comments | « sync/internal_api/http_bridge_unittest.cc ('k') | sync/test/local_sync_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698