| Index: base/files/file_path_watcher_mac.cc
|
| diff --git a/base/files/file_path_watcher_mac.cc b/base/files/file_path_watcher_mac.cc
|
| index 58f78bdb84e10fb88c964983827e705c982d3de6..6f55ba4f89266f5fdac16c86d1ac853615df4de9 100644
|
| --- a/base/files/file_path_watcher_mac.cc
|
| +++ b/base/files/file_path_watcher_mac.cc
|
| @@ -15,9 +15,9 @@ namespace {
|
|
|
| class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
|
| public:
|
| - virtual bool Watch(const FilePath& path,
|
| - bool recursive,
|
| - const FilePathWatcher::Callback& callback) override {
|
| + bool Watch(const FilePath& path,
|
| + bool recursive,
|
| + const FilePathWatcher::Callback& callback) override {
|
| // Use kqueue for non-recursive watches and FSEvents for recursive ones.
|
| DCHECK(!impl_.get());
|
| if (recursive) {
|
| @@ -33,20 +33,20 @@ class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
|
| return impl_->Watch(path, recursive, callback);
|
| }
|
|
|
| - virtual void Cancel() override {
|
| + void Cancel() override {
|
| if (impl_.get())
|
| impl_->Cancel();
|
| set_cancelled();
|
| }
|
|
|
| - virtual void CancelOnMessageLoopThread() override {
|
| + void CancelOnMessageLoopThread() override {
|
| if (impl_.get())
|
| impl_->Cancel();
|
| set_cancelled();
|
| }
|
|
|
| protected:
|
| - virtual ~FilePathWatcherImpl() {}
|
| + ~FilePathWatcherImpl() override {}
|
|
|
| scoped_refptr<PlatformDelegate> impl_;
|
| };
|
|
|