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

Unified Diff: components/cronet/ios/test/quic_test_server.h

Issue 2487863003: Revert of Revert "Revert of Moving gRPC support interfaces out of cronet and into a new component. (patchset … (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cronet/ios/test/get_stream_engine.mm ('k') | components/cronet/ios/test/quic_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/test/quic_test_server.h
diff --git a/components/cronet/ios/test/quic_test_server.h b/components/cronet/ios/test/quic_test_server.h
new file mode 100644
index 0000000000000000000000000000000000000000..8b21cb280045c7f22440ab732e592dc73bdef4a6
--- /dev/null
+++ b/components/cronet/ios/test/quic_test_server.h
@@ -0,0 +1,32 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_
+#define COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_
+
+namespace cronet {
+
+bool StartQuicTestServer();
+
+void ShutdownQuicTestServer();
+
+extern const char kTestServerDomain[];
+extern const int kTestServerPort;
+extern const char kTestServerHost[];
+extern const char kTestServerUrl[];
+
+extern const char kStatusHeader[];
+
+extern const char kHelloBodyValue[];
+extern const char kHelloStatus[];
+
+extern const char kHelloHeaderName[];
+extern const char kHelloHeaderValue[];
+
+extern const char kHelloTrailerName[];
+extern const char kHelloTrailerValue[];
+
+} // namespace cronet
+
+#endif // COMPONENTS_CRONET_IOS_TEST_QUIC_TEST_SERVER_H_
« no previous file with comments | « components/cronet/ios/test/get_stream_engine.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