Chromium Code Reviews| Index: base/message_loop/message_loop.h |
| diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h |
| index 11d87122c32e6da0624c670e48ed77fa5b6c8d6f..be1136658db4ac7f2c7e5564b5e0a00be2256e1f 100644 |
| --- a/base/message_loop/message_loop.h |
| +++ b/base/message_loop/message_loop.h |
| @@ -390,6 +390,15 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate { |
| // Runs the specified PendingTask. |
| void RunTask(const PendingTask& pending_task); |
| +#if defined(OS_WIN) |
| + // TODO (stanisc): crbug.com/596190: Remove this after the signalling 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. |
| + bool MessagePumpWasSignalled(); |
|
brucedawson
2016/06/16 23:19:12
It looks like the US spelling is signaled (one 'l'
stanisc
2016/06/17 18:19:09
Done.
|
| +#endif |
| + |
| //---------------------------------------------------------------------------- |
| protected: |
| std::unique_ptr<MessagePump> pump_; |