Lines Matching refs:Watch
44 typedef int Watch; // Watch descriptor used by AddWatch and RemoveWatch. typedef in base::files::__anon584a7a500111::InotifyReader
45 static const Watch kInvalidWatch = -1;
49 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
52 bool RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
66 base::hash_map<Watch, WatcherSet> watchers_;
96 void OnFilePathChanged(InotifyReader::Watch fired_watch,
103 virtual bool Watch(const FilePath& path,
124 WatchEntry(InotifyReader::Watch watch, const FilePath::StringType& subdir) in WatchEntry()
128 InotifyReader::Watch watch_;
250 InotifyReader::Watch InotifyReader::AddWatch( in AddWatch()
257 Watch watch = inotify_add_watch(inotify_fd_, path.value().c_str(), in AddWatch()
270 bool InotifyReader::RemoveWatch(Watch watch, in RemoveWatch()
309 InotifyReader::Watch fired_watch, in OnFilePathChanged()
368 bool FilePathWatcherImpl::Watch(const FilePath& path, in Watch() function in base::files::__anon584a7a500111::FilePathWatcherImpl
436 InotifyReader::Watch old_watch = watch_entry->watch_; in UpdateWatches()