diff options
Diffstat (limited to 'base/waitable_event_watcher.h')
-rw-r--r-- | base/waitable_event_watcher.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/base/waitable_event_watcher.h b/base/waitable_event_watcher.h index 94c3fdb..1b49944 100644 --- a/base/waitable_event_watcher.h +++ b/base/waitable_event_watcher.h @@ -11,11 +11,11 @@ #include "base/object_watcher.h" #else #include "base/message_loop.h" -#include "base/waitable_event.h" #endif namespace base { +class WaitableEvent; class Flag; class AsyncWaiter; class AsyncCallbackTask; @@ -51,9 +51,6 @@ class AsyncCallbackTask; // occurs just before a WaitableEventWatcher is deleted. There is currently no // safe way to stop watching an automatic reset WaitableEvent without possibly // missing a signal. -// -// NOTE: you /are/ allowed to delete the WaitableEvent while still waiting on -// it with a Watcher. It will act as if the event was never signaled. // ----------------------------------------------------------------------------- class WaitableEventWatcher @@ -143,7 +140,6 @@ class WaitableEventWatcher scoped_refptr<Flag> cancel_flag_; AsyncWaiter* waiter_; AsyncCallbackTask* callback_task_; - scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_; #endif }; |