summaryrefslogtreecommitdiff
path: root/base/message_loop/message_pump.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/message_loop/message_pump.h')
-rw-r--r--base/message_loop/message_pump.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/base/message_loop/message_pump.h b/base/message_loop/message_pump.h
index c53be80410..af8ed41f27 100644
--- a/base/message_loop/message_pump.h
+++ b/base/message_loop/message_pump.h
@@ -124,6 +124,15 @@ class BASE_EXPORT MessagePump : public NonThreadSafe {
// Sets the timer slack to the specified value.
virtual void SetTimerSlack(TimerSlack timer_slack);
+
+#if defined(OS_WIN)
+ // TODO (stanisc): crbug.com/596190: Remove this after the signaling issue
+ // has been investigated.
+ // This should be used for diagnostic only. If message pump wake-up mechanism
+ // is based on auto-reset event this call would reset the event to unset
+ // state.
+ virtual bool WasSignaled();
+#endif
};
} // namespace base