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

Unified Diff: net/test/local_sync_test_server.h

Issue 11971025: [sync] Divorce python sync test server chromiumsync.py from testserver.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 11 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
« no previous file with comments | « net/test/base_test_server.cc ('k') | net/test/local_sync_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/local_sync_test_server.h
diff --git a/net/test/local_sync_test_server.h b/net/test/local_sync_test_server.h
deleted file mode 100644
index fbd5f9dd1d2b399005d0ac46f59f23bc75a19a1d..0000000000000000000000000000000000000000
--- a/net/test/local_sync_test_server.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_TEST_LOCAL_SYNC_TEST_SERVER_H_
-#define NET_TEST_LOCAL_SYNC_TEST_SERVER_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "net/test/local_test_server.h"
-
-namespace net {
-
-// Runs a Python-based sync test server on the same machine in which the
-// LocalSyncTestServer runs.
-class LocalSyncTestServer : public LocalTestServer {
- public:
- // Initialize a sync server that listens on localhost using ephemeral ports
- // for sync and p2p notifications.
- LocalSyncTestServer();
-
- // Initialize a sync server that listens on |port| for sync updates and
- // |xmpp_port| for p2p notifications.
- LocalSyncTestServer(uint16 port, uint16 xmpp_port);
-
- virtual ~LocalSyncTestServer();
-
- // Calls LocalTestServer::AddCommandLineArguments and then appends the
- // --xmpp-port flag to |command_line| if required. Returns true on success.
- virtual bool AddCommandLineArguments(
- CommandLine* command_line) const OVERRIDE;
-
- private:
- // Port on which the Sync XMPP server listens.
- uint16 xmpp_port_;
-
- DISALLOW_COPY_AND_ASSIGN(LocalSyncTestServer);
-};
-
-} // namespace net
-
-#endif // NET_TEST_LOCAL_SYNC_TEST_SERVER_H_
« no previous file with comments | « net/test/base_test_server.cc ('k') | net/test/local_sync_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698