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

Unified Diff: components/cronet/ios/test/get_stream_engine.mm

Issue 2492703002: Third try at landing gRPC refactoring. Previous issue failed on the waterfall (Closed)
Patch Set: Change DCHECK 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/cronet_test_runner.mm ('k') | components/cronet/ios/test/quic_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/test/get_stream_engine.mm
diff --git a/components/cronet/ios/test/get_stream_engine.mm b/components/cronet/ios/test/get_stream_engine.mm
new file mode 100644
index 0000000000000000000000000000000000000000..f73f1c9a232266d112de42549250f2fb417e0b75
--- /dev/null
+++ b/components/cronet/ios/test/get_stream_engine.mm
@@ -0,0 +1,18 @@
+// 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.
+
+#import <Cronet/Cronet.h>
+#import <Foundation/Foundation.h>
+
+#include "components/cronet/ios/test/start_cronet.h"
+#include "components/grpc_support/test/get_stream_engine.h"
+
+namespace grpc_support {
+
+stream_engine* GetTestStreamEngine(int port) {
+ cronet::StartCronetIfNecessary(port);
+ return [Cronet getGlobalEngine];
+}
+
+} // namespace grpc_support
« no previous file with comments | « components/cronet/ios/test/cronet_test_runner.mm ('k') | components/cronet/ios/test/quic_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698