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

Unified Diff: components/cronet/ios/test/start_cronet.h

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/quic_test_server.cc ('k') | components/cronet/ios/test/start_cronet.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/cronet/ios/test/quic_test_server.cc ('k') | components/cronet/ios/test/start_cronet.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698