| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_ | 5 #ifndef COMPONENTS_GRPC_SUPPORT_TEST_QUIC_TEST_SERVER_H_ |
| 6 #define COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_ | 6 #define COMPONENTS_GRPC_SUPPORT_TEST_QUIC_TEST_SERVER_H_ |
| 7 | 7 |
| 8 namespace cronet { | 8 #include <string> |
| 9 |
| 10 namespace grpc_support { |
| 9 | 11 |
| 10 bool StartQuicTestServer(); | 12 bool StartQuicTestServer(); |
| 11 | 13 |
| 12 void ShutdownQuicTestServer(); | 14 void ShutdownQuicTestServer(); |
| 13 | 15 |
| 14 extern const char kTestServerDomain[]; | 16 int GetQuicTestServerPort(); |
| 15 extern const int kTestServerPort; | 17 |
| 16 extern const char kTestServerHost[]; | 18 extern const char kTestServerHost[]; |
| 17 extern const char kTestServerUrl[]; | 19 extern const char kTestServerUrl[]; |
| 18 | 20 |
| 19 extern const char kStatusHeader[]; | 21 extern const char kStatusHeader[]; |
| 20 | 22 |
| 21 extern const char kHelloBodyValue[]; | 23 extern const char kHelloBodyValue[]; |
| 22 extern const char kHelloStatus[]; | 24 extern const char kHelloStatus[]; |
| 23 | 25 |
| 24 extern const char kHelloHeaderName[]; | 26 extern const char kHelloHeaderName[]; |
| 25 extern const char kHelloHeaderValue[]; | 27 extern const char kHelloHeaderValue[]; |
| 26 | 28 |
| 27 extern const char kHelloTrailerName[]; | 29 extern const char kHelloTrailerName[]; |
| 28 extern const char kHelloTrailerValue[]; | 30 extern const char kHelloTrailerValue[]; |
| 29 | 31 |
| 30 } // namespace cronet | 32 } // namespace grpc_support |
| 31 | 33 |
| 32 #endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_ | 34 #endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_ |
| OLD | NEW |