| 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_SPAWNED_TEST_SERVER_H_ | 5 #ifndef NET_TEST_SPAWNED_TEST_SERVER_SPAWNED_TEST_SERVER_H_ |
| 6 #define NET_TEST_SPAWNED_TEST_SERVER_H_ | 6 #define NET_TEST_SPAWNED_TEST_SERVER_SPAWNED_TEST_SERVER_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_ANDROID) | 10 #if defined(OS_ANDROID) |
| 11 #include "net/test/remote_test_server.h" | 11 #include "net/test/spawned_test_server/remote_test_server.h" |
| 12 #else | 12 #else |
| 13 #include "net/test/local_test_server.h" | 13 #include "net/test/spawned_test_server/local_test_server.h" |
| 14 #endif | 14 #endif |
| 15 | 15 |
| 16 namespace net { | 16 namespace net { |
| 17 | 17 |
| 18 #if defined(OS_ANDROID) | 18 #if defined(OS_ANDROID) |
| 19 typedef RemoteTestServer SpawnedTestServer; | 19 typedef RemoteTestServer SpawnedTestServer; |
| 20 #else | 20 #else |
| 21 typedef LocalTestServer SpawnedTestServer; | 21 typedef LocalTestServer SpawnedTestServer; |
| 22 #endif | 22 #endif |
| 23 | 23 |
| 24 } // namespace net | 24 } // namespace net |
| 25 | 25 |
| 26 #endif // NET_TEST_SPAWNED_TEST_SERVER_H_ | 26 #endif // NET_TEST_SPAWNED_TEST_SERVER_SPAWNED_TEST_SERVER_H_ |
| 27 | 27 |
| OLD | NEW |