diff options
Diffstat (limited to 'base/directory_watcher.h')
-rw-r--r-- | base/directory_watcher.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/directory_watcher.h b/base/directory_watcher.h index 3048d66..d6fc534 100644 --- a/base/directory_watcher.h +++ b/base/directory_watcher.h @@ -28,8 +28,9 @@ class DirectoryWatcher { // Register interest in any changes in the directory |path|. // OnDirectoryChanged will be called back for each change within the dir. - // Returns false on error. - bool Watch(const FilePath& path, Delegate* delegate); + // If |recursive| is true, the delegate will be notified for each change + // within the directory tree starting at |path|. Returns false on error. + bool Watch(const FilePath& path, Delegate* delegate, bool recursive); private: class Impl; |