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

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

Issue 2470923002: Revert "Revert of Moving gRPC support interfaces out of cronet and into a new component. (patchset … (Closed)
Patch Set: Address comments 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
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();
}

Powered by Google App Engine
This is Rietveld 408576698