| Index: chrome/browser/file_watcher_win.cc
|
| diff --git a/base/file_watcher_win.cc b/chrome/browser/file_watcher_win.cc
|
| similarity index 94%
|
| rename from base/file_watcher_win.cc
|
| rename to chrome/browser/file_watcher_win.cc
|
| index ac04757bfbafff25e2b8971e987a2538907c888d..7d19b32b61edcd706c3d09b19ee7c335363e240d 100644
|
| --- a/base/file_watcher_win.cc
|
| +++ b/chrome/browser/file_watcher_win.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/file_watcher.h"
|
| +#include "chrome/browser/file_watcher.h"
|
|
|
| #include "base/file_path.h"
|
| #include "base/file_util.h"
|
| @@ -18,8 +18,7 @@ class FileWatcherImpl : public FileWatcher::PlatformDelegate,
|
| public:
|
| FileWatcherImpl() : delegate_(NULL), handle_(INVALID_HANDLE_VALUE) {}
|
|
|
| - virtual bool Watch(const FilePath& path, FileWatcher::Delegate* delegate,
|
| - MessageLoop* backend_loop);
|
| + virtual bool Watch(const FilePath& path, FileWatcher::Delegate* delegate);
|
|
|
| // Callback from MessageLoopForIO.
|
| virtual void OnObjectSignaled(HANDLE object);
|
| @@ -54,8 +53,7 @@ FileWatcherImpl::~FileWatcherImpl() {
|
| }
|
|
|
| bool FileWatcherImpl::Watch(const FilePath& path,
|
| - FileWatcher::Delegate* delegate,
|
| - MessageLoop* backend_loop) {
|
| + FileWatcher::Delegate* delegate) {
|
| DCHECK(path_.value().empty()); // Can only watch one path.
|
| file_util::FileInfo file_info;
|
| if (file_util::GetFileInfo(path, &file_info))
|
|
|