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

Unified Diff: base/test/test_suite.cc

Issue 10701172: Replace MessagePumpForUI with MessagePumpDefault in unit tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased. Created 8 years, 5 months 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 | « base/base.gyp ('k') | base/test/test_support_ios.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_suite.cc
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc
index 05a6069ba22a25720da254f8188b813f51b4b482..42edb0000cc532bcfa9911d0fd6aef64b8de9e61 100644
--- a/base/test/test_suite.cc
+++ b/base/test/test_suite.cc
@@ -36,6 +36,10 @@
#include "base/test/test_support_android.h"
#endif
+#if defined(OS_IOS)
+#include "base/test/test_support_ios.h"
+#endif
+
#if defined(TOOLKIT_GTK)
#include <gtk/gtk.h>
#endif
@@ -303,6 +307,10 @@ void TestSuite::Initialize() {
mock_cr_app::RegisterMockCrApp();
#endif
+#if defined(OS_IOS)
+ InitIOSTestMessageLoop();
+#endif // OS_IOS
+
#if defined(OS_ANDROID)
InitAndroidTest();
#else
« no previous file with comments | « base/base.gyp ('k') | base/test/test_support_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698