Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #import <Cronet/Cronet.h> | |
| 6 #import <Foundation/Foundation.h> | |
| 7 | |
| 8 #include "components/cronet/ios/test/start_cronet.h" | |
| 9 #include "components/grpc_support/test/get_stream_engine.h" | |
| 10 | |
| 11 namespace grpc_support { | |
| 12 | |
| 13 stream_engine* GetTestStreamEngine() { | |
| 14 cronet::StartCronetIfNecessary(); | |
| 15 return [Cronet getGlobalEngine]; | |
| 16 } | |
| 17 | |
| 18 } // namespcae grpc_support | |
|
mef
2016/10/26 22:19:45
nit: namespace (sp).
| |
| OLD | NEW |