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

Unified Diff: content/public/test/nested_message_pump_android.h

Issue 733533002: Do not start RunLoop of MessagePumpForUI in NestedMessagePumpAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failure of FrameTreeBrowserTest.FrameTreeAfterCrash Created 6 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: content/public/test/nested_message_pump_android.h
diff --git a/content/public/test/nested_message_pump_android.h b/content/public/test/nested_message_pump_android.h
index 4b7aebacb6832aeef58d6df2935f74920d8d58cd..79424b054393fdcb50990328eba313789e8abb91 100644
--- a/content/public/test/nested_message_pump_android.h
+++ b/content/public/test/nested_message_pump_android.h
@@ -23,6 +23,7 @@ class NestedMessagePumpAndroid : public base::MessagePumpForUI {
virtual void ScheduleDelayedWork(
const base::TimeTicks& delayed_work_time) override;
virtual void Start(Delegate* delegate) override;
+ virtual bool IsRedundantQuitExpected() override;
static bool RegisterJni(JNIEnv* env);
@@ -35,6 +36,7 @@ class NestedMessagePumpAndroid : public base::MessagePumpForUI {
struct RunState;
RunState* state_;
+ bool redundant_quit_executed_;
DISALLOW_COPY_AND_ASSIGN(NestedMessagePumpAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698