Searched defs:FilePathWatcher (Results 1 - 4 of 4) sorted by relevance

/external/libchrome/base/files/
H A Dfile_path_watcher_mac.cc17 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
21 const FilePathWatcher::Callback& callback) override {
25 if (!FilePathWatcher::RecursiveWatchAvailable())
57 FilePathWatcher::FilePathWatcher() { function in class:base::FilePathWatcher
H A Dfile_path_watcher.cc5 // Cross platform methods for FilePathWatcher. See the various platform
16 FilePathWatcher::~FilePathWatcher() {
21 void FilePathWatcher::CancelWatch(
27 bool FilePathWatcher::RecursiveWatchAvailable() {
37 FilePathWatcher::PlatformDelegate::PlatformDelegate(): cancelled_(false) {
40 FilePathWatcher::PlatformDelegate::~PlatformDelegate() {
44 bool FilePathWatcher::Watch(const FilePath& path,
H A Dfile_path_watcher.h22 // underlying OS APIs, FilePathWatcher has slightly different semantics on OS X
23 // than on Windows or Linux. FilePathWatcher on Linux and Windows will detect
24 // modifications to files in a watched directory. FilePathWatcher on Mac will
28 class BASE_EXPORT FilePathWatcher { class in namespace:base
45 // Stop watching. This is called from FilePathWatcher's dtor in order to
52 friend class FilePathWatcher;
83 FilePathWatcher();
84 virtual ~FilePathWatcher();
106 DISALLOW_COPY_AND_ASSIGN(FilePathWatcher);
H A Dfile_path_watcher_linux.cc92 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate,
118 const FilePathWatcher::Callback& callback) override;
126 // Deletion of the FilePathWatcher will call Cancel() to dispose of this
179 FilePathWatcher::Callback callback_;
452 const FilePathWatcher::Callback& callback) {
481 task_runner()->PostTask(FROM_HERE, Bind(&FilePathWatcher::CancelWatch,
685 FilePathWatcher::FilePathWatcher() { function in class:base::FilePathWatcher

Completed in 212 milliseconds