| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 NET_TEST_REMOTE_TEST_SERVER_H_ | 5 #ifndef NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_ |
| 6 #define NET_TEST_REMOTE_TEST_SERVER_H_ | 6 #define NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/test/base_test_server.h" | 10 #include "net/test/spawned_test_server/base_test_server.h" |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 | 13 |
| 14 class SpawnerCommunicator; | 14 class SpawnerCommunicator; |
| 15 | 15 |
| 16 // The RemoteTestServer runs an external Python-based test server in another | 16 // The RemoteTestServer runs an external Python-based test server in another |
| 17 // machine that is different from the machine in which RemoteTestServer runs. | 17 // machine that is different from the machine in which RemoteTestServer runs. |
| 18 class RemoteTestServer : public BaseTestServer { | 18 class RemoteTestServer : public BaseTestServer { |
| 19 public: | 19 public: |
| 20 // Initialize a TestServer listening on a specific host (IP or hostname). | 20 // Initialize a TestServer listening on a specific host (IP or hostname). |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 // Helper to start and stop instances of the Python test server that runs on | 61 // Helper to start and stop instances of the Python test server that runs on |
| 62 // the host machine. | 62 // the host machine. |
| 63 scoped_ptr<SpawnerCommunicator> spawner_communicator_; | 63 scoped_ptr<SpawnerCommunicator> spawner_communicator_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(RemoteTestServer); | 65 DISALLOW_COPY_AND_ASSIGN(RemoteTestServer); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace net | 68 } // namespace net |
| 69 | 69 |
| 70 #endif // NET_TEST_REMOTE_TEST_SERVER_H_ | 70 #endif // NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_ |
| 71 | 71 |
| OLD | NEW |