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

Unified Diff: components/grpc_support/test/get_stream_engine.h

Issue 2273403003: Moving gRPC support interfaces out of cronet and into a new component. (Closed)
Patch Set: Address comments 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/grpc_support/test/BUILD.gn ('k') | components/grpc_support/test/get_stream_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/grpc_support/test/get_stream_engine.h
diff --git a/components/grpc_support/test/get_stream_engine.h b/components/grpc_support/test/get_stream_engine.h
new file mode 100644
index 0000000000000000000000000000000000000000..639ac4f0122f5c21addd130351a5423d33d3fd3d
--- /dev/null
+++ b/components/grpc_support/test/get_stream_engine.h
@@ -0,0 +1,19 @@
+// 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_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_
+#define COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_
+
+struct stream_engine;
+
+namespace grpc_support {
+
+// Returns a stream_engine* for testing with the QuicTestServer.
+// The engine returned should resolve kTestServerDomain as localhost,
+// and should have kTestServerHost configured as a QUIC server.
+stream_engine* GetTestStreamEngine();
+
+} // namespace grpc_support
+
+#endif // COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_
« no previous file with comments | « components/grpc_support/test/BUILD.gn ('k') | components/grpc_support/test/get_stream_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698