diff options
Diffstat (limited to 'chromium/base/synchronization/waitable_event.h')
-rw-r--r-- | chromium/base/synchronization/waitable_event.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chromium/base/synchronization/waitable_event.h b/chromium/base/synchronization/waitable_event.h index 39c0d11538c..c35af5467f6 100644 --- a/chromium/base/synchronization/waitable_event.h +++ b/chromium/base/synchronization/waitable_event.h @@ -21,9 +21,6 @@ namespace base { -// This replaces INFINITE from Win32 -static const int kNoTimeout = -1; - class TimeDelta; // A WaitableEvent can be a useful thread synchronization tool when you want to @@ -53,11 +50,7 @@ class BASE_EXPORT WaitableEvent { // Create a WaitableEvent from an Event HANDLE which has already been // created. This objects takes ownership of the HANDLE and will close it when // deleted. - // TODO(rvargas): Pass ScopedHandle instead (and on Release). - explicit WaitableEvent(HANDLE event_handle); - - // Releases ownership of the handle from this object. - HANDLE Release(); + explicit WaitableEvent(win::ScopedHandle event_handle); #endif ~WaitableEvent(); |