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

Side by Side Diff: components/cronet/ios/test/quic_test_server.h

Issue 1892423002: [Cronet] Add Hello World response to QuicTestServer and use it in bidirectional stream test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cronet7
Patch Set: Sync and lint. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
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_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_
6 #define COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_ 6 #define COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_
7 7
8 namespace cronet { 8 namespace cronet {
9 9
10 bool StartQuicTestServer(); 10 bool StartQuicTestServer();
11 11
12 void ShutdownQuicTestServer(); 12 void ShutdownQuicTestServer();
13 13
14 extern const char kTestServerDomain[];
15 extern const int kTestServerPort;
16 extern const char kTestServerHost[];
17 extern const char kTestServerUrl[];
18
19 extern const char kStatusHeader[];
20
21 extern const char kHelloBodyValue[];
22 extern const char kHelloStatus[];
23
24 extern const char kHelloHeaderName[];
25 extern const char kHelloHeaderValue[];
26
27 extern const char kHelloTrailerName[];
28 extern const char kHelloTrailerValue[];
29
14 } // namespace cronet 30 } // namespace cronet
15 31
16 #endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_ 32 #endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_
OLDNEW
« no previous file with comments | « components/cronet/ios/test/cronet_bidirectional_stream_test.mm ('k') | components/cronet/ios/test/quic_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698