diff options
Diffstat (limited to 'base/directory_watcher_win.cc')
-rw-r--r-- | base/directory_watcher_win.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/directory_watcher_win.cc b/base/directory_watcher_win.cc index d97fca4c..e318d4b 100644 --- a/base/directory_watcher_win.cc +++ b/base/directory_watcher_win.cc @@ -15,7 +15,6 @@ class DirectoryWatcherImpl : public DirectoryWatcher::PlatformDelegate, public base::ObjectWatcher::Delegate { public: DirectoryWatcherImpl() : delegate_(NULL), handle_(INVALID_HANDLE_VALUE) {} - virtual ~DirectoryWatcherImpl(); virtual bool Watch(const FilePath& path, DirectoryWatcher::Delegate* delegate, MessageLoop* backend_loop, bool recursive); @@ -24,6 +23,8 @@ class DirectoryWatcherImpl : public DirectoryWatcher::PlatformDelegate, virtual void OnObjectSignaled(HANDLE object); private: + virtual ~DirectoryWatcherImpl(); + // Delegate to notify upon changes. DirectoryWatcher::Delegate* delegate_; // Path we're watching (passed to delegate). |