| Index: components/cronet/ios/test/start_cronet.h
|
| diff --git a/components/cronet/ios/test/cronet_test_runner.mm b/components/cronet/ios/test/start_cronet.h
|
| similarity index 43%
|
| copy from components/cronet/ios/test/cronet_test_runner.mm
|
| copy to components/cronet/ios/test/start_cronet.h
|
| index 2272531cdc0df3512b7f74022ce41886aa4ad96f..e965c3e20c81b8a6c125a09d2d06b8e96060fbd4 100644
|
| --- a/components/cronet/ios/test/cronet_test_runner.mm
|
| +++ b/components/cronet/ios/test/start_cronet.h
|
| @@ -2,10 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "testing/gtest/include/gtest/gtest.h"
|
| -#include "testing/gtest_mac.h"
|
| +namespace cronet {
|
|
|
| -int main(int argc, char* argv[]) {
|
| - ::testing::InitGoogleTest(&argc, argv);
|
| - return RUN_ALL_TESTS();
|
| -}
|
| +// Starts Cronet if it hasn't already been started. Will always update Cronet
|
| +// to point test.example.com" to "localhost:|port|".
|
| +void StartCronetIfNecessary(int port);
|
| +
|
| +} // namespace cronet
|
|
|