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

Side by Side Diff: components/grpc_support/test/quic_test_server.h

Issue 2928653002: [Cronet-iOS] Public-Key-Pinning Tests (Closed)
Patch Set: Addressed Misha's comments Created 3 years, 6 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_GRPC_SUPPORT_TEST_QUIC_TEST_SERVER_H_ 5 #ifndef COMPONENTS_GRPC_SUPPORT_TEST_QUIC_TEST_SERVER_H_
6 #define COMPONENTS_GRPC_SUPPORT_TEST_QUIC_TEST_SERVER_H_ 6 #define COMPONENTS_GRPC_SUPPORT_TEST_QUIC_TEST_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace grpc_support { 10 namespace grpc_support {
11 11
12 bool StartQuicTestServer(); 12 bool StartQuicTestServer();
13 13
14 void ShutdownQuicTestServer(); 14 void ShutdownQuicTestServer();
15 15
16 int GetQuicTestServerPort(); 16 int GetQuicTestServerPort();
17 17
18 extern const char kTestServerHost[]; 18 extern const char kTestServerHost[];
19 extern const char kTestServerDomain[];
mef 2017/06/19 15:02:33 nit: maybe move it above ServerHost? Alphabeticall
kapishnikov 2017/06/19 18:32:48 Done.
19 extern const char kTestServerUrl[]; 20 extern const char kTestServerUrl[];
20 21
21 extern const char kStatusHeader[]; 22 extern const char kStatusHeader[];
22 23
23 extern const char kHelloBodyValue[]; 24 extern const char kHelloBodyValue[];
24 extern const char kHelloStatus[]; 25 extern const char kHelloStatus[];
25 26
26 extern const char kHelloHeaderName[]; 27 extern const char kHelloHeaderName[];
27 extern const char kHelloHeaderValue[]; 28 extern const char kHelloHeaderValue[];
28 29
29 extern const char kHelloTrailerName[]; 30 extern const char kHelloTrailerName[];
30 extern const char kHelloTrailerValue[]; 31 extern const char kHelloTrailerValue[];
31 32
32 // Simple Url returns response without HTTP/2 trailers. 33 // Simple Url returns response without HTTP/2 trailers.
33 extern const char kTestServerSimpleUrl[]; 34 extern const char kTestServerSimpleUrl[];
34 extern const char kSimpleBodyValue[]; 35 extern const char kSimpleBodyValue[];
35 extern const char kSimpleStatus[]; 36 extern const char kSimpleStatus[];
36 extern const char kSimpleHeaderName[]; 37 extern const char kSimpleHeaderName[];
37 extern const char kSimpleHeaderValue[]; 38 extern const char kSimpleHeaderValue[];
38 39
39 } // namespace grpc_support 40 } // namespace grpc_support
40 41
41 #endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_ 42 #endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698