diff options
Diffstat (limited to 'base/object_watcher.cc')
-rw-r--r-- | base/object_watcher.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/object_watcher.cc b/base/object_watcher.cc index 4e6e57a..cad281f 100644 --- a/base/object_watcher.cc +++ b/base/object_watcher.cc @@ -107,6 +107,13 @@ bool ObjectWatcher::StopWatching() { return true; } +HANDLE ObjectWatcher::GetWatchedObject() { + if (!watch_) + return NULL; + + return watch_->object; +} + // static void CALLBACK ObjectWatcher::DoneWaiting(void* param, BOOLEAN timed_out) { DCHECK(!timed_out); |