1 // Copyright 2012 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef NET_TEST_SPAWNED_TEST_SERVER_SPAWNED_TEST_SERVER_H_ 6 #define NET_TEST_SPAWNED_TEST_SERVER_SPAWNED_TEST_SERVER_H_ 7 8 #include "build/build_config.h" 9 10 #if defined(USE_REMOTE_TEST_SERVER) 11 #include "net/test/spawned_test_server/remote_test_server.h" 12 #else 13 #include "net/test/spawned_test_server/local_test_server.h" 14 #endif 15 16 namespace net { 17 18 #if defined(USE_REMOTE_TEST_SERVER) 19 typedef RemoteTestServer SpawnedTestServer; 20 #else 21 typedef LocalTestServer SpawnedTestServer; 22 #endif 23 24 } // namespace net 25 26 #endif // NET_TEST_SPAWNED_TEST_SERVER_SPAWNED_TEST_SERVER_H_ 27