| Index: net/dns/file_path_watcher_wrapper.h
|
| diff --git a/net/dns/file_path_watcher_wrapper.h b/net/dns/file_path_watcher_wrapper.h
|
| index 172bbaf65a576eb40ccfa2e0d288bcb7eda961fa..2a5a776651b61964c87e1ebbf661a62f0ab0333b 100644
|
| --- a/net/dns/file_path_watcher_wrapper.h
|
| +++ b/net/dns/file_path_watcher_wrapper.h
|
| @@ -34,10 +34,8 @@ class NET_EXPORT FilePathWatcherWrapper
|
| virtual ~FilePathWatcherWrapper();
|
|
|
| // Starts watching the file at |path|. Returns true if Watch succeeds.
|
| - // If so, the delegate will call callback.Run(true) from OnFilePathChanged and
|
| - // callback.Run(false) from OnFilePathError. After failure the watch is
|
| - // cancelled and will have to be restarted. If called again, the previous
|
| - // watch is cancelled.
|
| + // If so, |callback| will be called with true on change and false on error.
|
| + // After failure the watch is cancelled and will have to be restarted.
|
| bool Watch(const FilePath& path,
|
| const base::Callback<void(bool succeeded)>& callback);
|
|
|
|
|