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

Unified Diff: content/test/browser_test_message_pump_android.h

Issue 17076008: content_shell: Move BrowserTestSystemMessageHandler and use it in layout tests for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/shell_browser_main.cc ('k') | content/test/browser_test_message_pump_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/browser_test_message_pump_android.h
diff --git a/content/test/browser_test_message_pump_android.h b/content/test/browser_test_message_pump_android.h
deleted file mode 100644
index d19b4494effc531f62f144da39d3b86f4823f674..0000000000000000000000000000000000000000
--- a/content/test/browser_test_message_pump_android.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_
-#define CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_
-
-#include "base/android/jni_android.h"
-#include "base/compiler_specific.h"
-#include "base/message_pump_android.h"
-
-namespace content {
-
-// MessgePump to be used for content browsertests on Android.
-// This overrides the default ui message pump to allow nested loops.
-class BrowserTestMessagePumpAndroid : public base::MessagePumpForUI {
- public:
- BrowserTestMessagePumpAndroid();
-
- virtual void Run(Delegate* delegate) OVERRIDE;
- virtual void Quit() OVERRIDE;
- virtual void ScheduleWork() OVERRIDE;
- virtual void ScheduleDelayedWork(
- const base::TimeTicks& delayed_work_time) OVERRIDE;
- virtual void Start(Delegate* delegate) OVERRIDE;
-
- static bool RegisterJni(JNIEnv* env);
-
- protected:
- virtual ~BrowserTestMessagePumpAndroid();
-
- private:
- // We may make recursive calls to Run, so we save state that needs to be
- // separate between them in this structure type.
- struct RunState;
-
- RunState* state_;
-
- DISALLOW_COPY_AND_ASSIGN(BrowserTestMessagePumpAndroid);
-};
-
-} // namespace content
-
-#endif // CONTENT_TEST_BROWSER_TEST_MESSAGE_PUMP_ANDROID_
« no previous file with comments | « content/shell/shell_browser_main.cc ('k') | content/test/browser_test_message_pump_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698