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

Unified Diff: content/test/content_test_launcher.cc

Issue 12088031: Revert 179189 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | « content/shell/android/shell_library_loader.cc ('k') | content/test/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_test_launcher.cc
===================================================================
--- content/test/content_test_launcher.cc (revision 179209)
+++ content/test/content_test_launcher.cc (working copy)
@@ -17,11 +17,6 @@
#include "content/shell/shell_switches.h"
#include "testing/gtest/include/gtest/gtest.h"
-#if defined(OS_ANDROID)
-#include "base/message_loop.h"
-#include "base/message_pump_android.h"
-#endif
-
#if defined(OS_WIN)
#include "content/public/app/startup_helper_win.h"
#include "sandbox/win/src/sandbox_types.h"
@@ -57,12 +52,6 @@
DISALLOW_COPY_AND_ASSIGN(ContentShellTestSuiteInitializer);
};
-#if defined(OS_ANDROID)
-base::MessagePump* CreateMessagePumpForUI() {
- return new base::MessagePumpForUI();
-};
-#endif
-
class ContentBrowserTestSuite : public ContentTestSuiteBase {
public:
ContentBrowserTestSuite(int argc, char** argv)
@@ -73,14 +62,6 @@
protected:
virtual void Initialize() OVERRIDE {
-
-#if defined(OS_ANDROID)
- // This needs to be done before base::TestSuite::Initialize() is called,
- // as it also tries to set MessagePumpForUIFactory.
- if (!MessageLoop::InitMessagePumpForUIFactory(&CreateMessagePumpForUI))
- LOG(INFO) << "MessagePumpForUIFactory already set, unable to override.";
-#endif
-
ContentTestSuiteBase::Initialize();
testing::TestEventListeners& listeners =
« no previous file with comments | « content/shell/android/shell_library_loader.cc ('k') | content/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698