| Index: base/files/file_path_watcher_stub.cc
|
| diff --git a/content/common/file_path_watcher/file_path_watcher_stub.cc b/base/files/file_path_watcher_stub.cc
|
| similarity index 85%
|
| rename from content/common/file_path_watcher/file_path_watcher_stub.cc
|
| rename to base/files/file_path_watcher_stub.cc
|
| index 42b6ec68bcbb1a6e2f73e3b766b0ed545ab08279..840b68cb4cfb0cd9eb9875ab2acabcb8e2e98f96 100644
|
| --- a/content/common/file_path_watcher/file_path_watcher_stub.cc
|
| +++ b/base/files/file_path_watcher_stub.cc
|
| @@ -5,7 +5,11 @@
|
| // This file exists for Unix systems which don't have the inotify headers, and
|
| // thus cannot build file_watcher_inotify.cc
|
|
|
| -#include "chrome/common/file_path_watcher/file_path_watcher.h"
|
| +#include "base/files/file_path_watcher.h"
|
| +
|
| +using ::base::files::FilePathWatcher;
|
| +
|
| +namespace {
|
|
|
| class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
|
| public:
|
| @@ -16,6 +20,8 @@ class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
|
| }
|
| };
|
|
|
| +} // namespace
|
| +
|
| FilePathWatcher::FilePathWatcher() {
|
| impl_ = new FilePathWatcherImpl();
|
| }
|
|
|