| Index: mojo/message_pump/handle_watcher.h
|
| diff --git a/mojo/message_pump/handle_watcher.h b/mojo/message_pump/handle_watcher.h
|
| index d855e45ea47dd60d2c70e3795e92cf428388188a..18211ca81eea5a635821f63c9068a7e4b850eb22 100644
|
| --- a/mojo/message_pump/handle_watcher.h
|
| +++ b/mojo/message_pump/handle_watcher.h
|
| @@ -45,6 +45,8 @@ class MOJO_MESSAGE_PUMP_EXPORT HandleWatcher {
|
| // Stops listening. Does nothing if not in the process of listening.
|
| void Stop();
|
|
|
| + bool is_watching() const { return !!state_; }
|
| +
|
| private:
|
| class StateBase;
|
| class SameThreadWatchingState;
|
|
|