| 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 b21ba1d65bba12538016fe6c5d35fa8db6131335..2c008395c780e3f2a17217e081681905c17c672d 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,13 +33,13 @@ 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();
|
|
|