Searched refs:FilePathWatcher (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium_org/base/files/
H A Dfile_path_watcher_stub.cc14 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
18 const FilePathWatcher::Callback& callback) OVERRIDE {
32 FilePathWatcher::FilePathWatcher() { function in class:base::FilePathWatcher
H A Dfile_path_watcher.cc5 // Cross platform methods for FilePathWatcher. See the various platform
19 FilePathWatcher::~FilePathWatcher() {
24 void FilePathWatcher::CancelWatch(
30 bool FilePathWatcher::RecursiveWatchAvailable() {
42 FilePathWatcher::PlatformDelegate::PlatformDelegate(): cancelled_(false) {
45 FilePathWatcher::PlatformDelegate::~PlatformDelegate() {
49 bool FilePathWatcher::Watch(const FilePath& path,
H A Dfile_path_watcher_mac.cc16 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
20 const FilePathWatcher::Callback& callback) OVERRIDE {
24 if (!FilePathWatcher::RecursiveWatchAvailable())
56 FilePathWatcher::FilePathWatcher() { function in class:base::FilePathWatcher
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_fsevents.h23 class FilePathWatcherFSEvents : public FilePathWatcher::PlatformDelegate {
38 // FilePathWatcher::PlatformDelegate overrides.
41 const FilePathWatcher::Callback& callback) OVERRIDE;
57 FilePathWatcher::Callback callback_;
H A Dfile_path_watcher_win.cc21 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate,
29 // FilePathWatcher::PlatformDelegate overrides.
32 const FilePathWatcher::Callback& callback) OVERRIDE;
35 // Deletion of the FilePathWatcher will call Cancel() to dispose of this
64 FilePathWatcher::Callback callback_;
91 const FilePathWatcher::Callback& callback) {
124 Bind(&FilePathWatcher::CancelWatch,
297 FilePathWatcher::FilePathWatcher() { function in class:base::FilePathWatcher
H A Dfile_path_watcher_browsertest.cc106 // Instead, TestDelegate gets the notifications from FilePathWatcher and uses
130 FilePathWatcher* watcher,
180 FilePathWatcher* watcher,
201 FilePathWatcher* watcher,
216 FilePathWatcher watcher;
229 FilePathWatcher watcher;
244 FilePathWatcher watcher;
257 FilePathWatcher watcher;
268 // Deletes the FilePathWatcher when it's notified.
271 Deleter(FilePathWatcher* watche
[all...]
H A Dfile_path_watcher_kqueue.h29 class FilePathWatcherKQueue : public FilePathWatcher::PlatformDelegate,
42 // FilePathWatcher::PlatformDelegate overrides.
45 const FilePathWatcher::Callback& callback) OVERRIDE;
123 FilePathWatcher::Callback callback_;
H A Dfile_path_watcher_linux.cc89 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate,
115 const FilePathWatcher::Callback& callback) OVERRIDE;
123 // Deletion of the FilePathWatcher will call Cancel() to dispose of this
174 FilePathWatcher::Callback callback_;
428 const FilePathWatcher::Callback& callback) {
458 Bind(&FilePathWatcher::CancelWatch,
665 FilePathWatcher::FilePathWatcher() { function in class:base::FilePathWatcher
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dfile_path_watcher_util.h13 typedef base::Callback<void(scoped_ptr<base::FilePathWatcher> watcher)>
22 const base::FilePathWatcher::Callback& path_changed_callback);
H A Dfile_path_watcher_util.cc19 const base::FilePathWatcher::Callback& callback,
28 // the FilePathWatcher also needs to run on the FILE thread.
32 const base::FilePathWatcher::Callback& path_changed_callback) {
36 scoped_ptr<base::FilePathWatcher> watcher(new base::FilePathWatcher);
52 const base::FilePathWatcher::Callback& path_changed_callback) {
H A Diapps_data_provider.h53 // Called when the FilePathWatcher for |library_path_| has tried to add an
55 void OnLibraryWatchStarted(scoped_ptr<base::FilePathWatcher> library_watcher);
68 scoped_ptr<base::FilePathWatcher> library_watcher_;
H A Dpicasa_data_provider.h68 // Called when the FilePathWatcher for Picasa's temp directory has started.
70 scoped_ptr<base::FilePathWatcher> temp_dir_watcher);
112 scoped_ptr<base::FilePathWatcher> temp_dir_watcher_;
H A Diapps_data_provider.cc69 scoped_ptr<base::FilePathWatcher> library_watcher) {
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfile_watcher.h21 // For local files, the class maintains a FilePathWatcher instance and
64 const base::FilePathWatcher::Callback& file_watcher_callback,
68 // Called when a FilePathWatcher is created and started.
71 base::FilePathWatcher* file_path_watcher);
73 base::FilePathWatcher* local_file_watcher_;
H A Dfile_watcher.cc16 // Creates a base::FilePathWatcher and starts watching at |watch_path| with
18 base::FilePathWatcher* CreateAndStartFilePathWatcher(
20 const base::FilePathWatcher::Callback& callback) {
24 scoped_ptr<base::FilePathWatcher> watcher(new base::FilePathWatcher);
83 const base::FilePathWatcher::Callback& file_watcher_callback,
102 base::FilePathWatcher* file_watcher) {
/external/chromium_org/components/policy/core/common/
H A Dconfig_dir_policy_loader.h59 base::FilePathWatcher mandatory_watcher_;
60 base::FilePathWatcher recommended_watcher_;
H A Dpolicy_loader_mac.h44 // Callback for the FilePathWatcher.
67 base::FilePathWatcher watcher_;
/external/chromium_org/components/storage_monitor/
H A Dmtab_watcher_linux.h55 base::FilePathWatcher file_watcher_;
/external/chromium_org/content/browser/
H A Dtime_zone_monitor_linux.cc44 // FilePathWatcher needs to run on the FILE thread, but TimeZoneMonitor runs
95 file_path_watchers_.push_back(new base::FilePathWatcher());
124 std::vector<base::FilePathWatcher*> file_path_watchers_;
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/
H A Dbraille_controller_brlapi.h80 base::FilePathWatcher file_path_watcher_;
/external/chromium_org/chrome/common/
H A Dservice_process_util_posix.h75 base::FilePathWatcher executable_watcher_;
/external/chromium_org/chrome/browser/media_galleries/
H A Dgallery_watch_manager.cc42 explicit FileWatchManager(const base::FilePathWatcher::Callback& callback);
54 typedef std::map<base::FilePath, linked_ptr<base::FilePathWatcher> >
61 base::FilePathWatcher::Callback callback_;
69 const base::FilePathWatcher::Callback& callback)
91 linked_ptr<base::FilePathWatcher> watcher(new base::FilePathWatcher);
238 // Start the FilePathWatcher on |gallery_path| if necessary.
/external/chromium_org/remoting/host/
H A Dconfig_file_watcher.cc77 scoped_ptr<base::FilePathWatcher> config_watcher_;
142 config_watcher_.reset(new base::FilePathWatcher());
/external/chromium_org/remoting/host/linux/
H A Daudio_pipe_reader.h79 base::FilePathWatcher file_watcher_;

Completed in 319 milliseconds

12