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

Unified Diff: components/cronet/ios/test/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: Remove cronet_test_bundle_data target and use data bundled with net_test_support. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cronet/ios/test/quic_test_server.cc ('k') | components/cronet/ios/test/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/test_server.h
diff --git a/components/cronet/ios/test/test_server.h b/components/cronet/ios/test/test_server.h
new file mode 100644
index 0000000000000000000000000000000000000000..7e908702f776a5f90da41c851256d6c723360749
--- /dev/null
+++ b/components/cronet/ios/test/test_server.h
@@ -0,0 +1,22 @@
+// 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_TEST_SERVER_H_
+#define COMPONENTS_CRONET_IOS_TEST_TEST_SERVER_H_
+
+#include <string>
+
+namespace cronet {
+
+class TestServer {
+ public:
+ static bool Start();
+ static void Shutdown();
+
+ static std::string GetEchoHeaderURL(const std::string& header_name);
+};
+
+} // namespace cronet
+
+#endif // COMPONENTS_CRONET_IOS_TEST_TEST_SERVER_H_
« no previous file with comments | « components/cronet/ios/test/quic_test_server.cc ('k') | components/cronet/ios/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698