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

Unified Diff: components/cronet/ios/test/cronet_test_runner.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_http_test.mm ('k') | components/cronet/ios/test/get_stream_engine.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/test/cronet_test_runner.mm
diff --git a/components/cronet/ios/test/cronet_test_runner.mm b/components/cronet/ios/test/cronet_test_runner.mm
index 2272531cdc0df3512b7f74022ce41886aa4ad96f..aca8fee8544be0f0657e86478e50a8d547405c4c 100644
--- a/components/cronet/ios/test/cronet_test_runner.mm
+++ b/components/cronet/ios/test/cronet_test_runner.mm
@@ -2,10 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/at_exit.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gtest_mac.h"
+base::AtExitManager* g_at_exit_ = nullptr;
+
int main(int argc, char* argv[]) {
+ g_at_exit_ = new base::AtExitManager;
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
« no previous file with comments | « components/cronet/ios/test/cronet_http_test.mm ('k') | components/cronet/ios/test/get_stream_engine.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698