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

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

Issue 2146643002: [Cronet] Integrate CrNet functionality into Cronet on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync Created 4 years, 2 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 #include <string>
9
8 namespace cronet { 10 namespace cronet {
9 11
10 bool StartQuicTestServer(); 12 bool StartQuicTestServer();
11 13
12 void ShutdownQuicTestServer(); 14 void ShutdownQuicTestServer();
13 15
16 std::string GetTestServerURL(const std::string& path);
17
14 extern const char kTestServerDomain[]; 18 extern const char kTestServerDomain[];
15 extern const int kTestServerPort; 19 extern const int kTestServerPort;
16 extern const char kTestServerHost[]; 20 extern const char kTestServerHost[];
17 extern const char kTestServerUrl[]; 21 extern const char kTestServerUrl[];
18 22
19 extern const char kStatusHeader[]; 23 extern const char kStatusHeader[];
20 24
21 extern const char kHelloBodyValue[]; 25 extern const char kHelloBodyValue[];
22 extern const char kHelloStatus[]; 26 extern const char kHelloStatus[];
23 27
24 extern const char kHelloHeaderName[]; 28 extern const char kHelloHeaderName[];
25 extern const char kHelloHeaderValue[]; 29 extern const char kHelloHeaderValue[];
26 30
27 extern const char kHelloTrailerName[]; 31 extern const char kHelloTrailerName[];
28 extern const char kHelloTrailerValue[]; 32 extern const char kHelloTrailerValue[];
29 33
30 } // namespace cronet 34 } // namespace cronet
31 35
32 #endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_ 36 #endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_
OLDNEW
« no previous file with comments | « components/cronet/ios/test/cronet_http_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