Home
last modified time | relevance | path

Searched refs:FilePathWatcher (Results 1 – 25 of 27) sorted by relevance

12

/aosp_15_r20/external/cronet/base/files/
H A Dfile_path_watcher_unittest.cc75 FilePathWatcher::ChangeInfo change_info;
88 Event ToEvent(const FilePathWatcher::ChangeInfo& change_info, in ToEvent()
95 const FilePathWatcher::ChangeType& change_type) { in operator <<()
97 case FilePathWatcher::ChangeType::kUnsupported: in operator <<()
99 case FilePathWatcher::ChangeType::kCreated: in operator <<()
101 case FilePathWatcher::ChangeType::kDeleted: in operator <<()
103 case FilePathWatcher::ChangeType::kModified: in operator <<()
105 case FilePathWatcher::ChangeType::kMoved: in operator <<()
111 const FilePathWatcher::FilePathType& file_path_type) { in operator <<()
113 case FilePathWatcher::FilePathType::kUnknown: in operator <<()
[all …]
H A Dfile_path_watcher.cc19 FilePathWatcher::~FilePathWatcher() { in ~FilePathWatcher()
25 bool FilePathWatcher::RecursiveWatchAvailable() { in RecursiveWatchAvailable()
36 FilePathWatcher::PlatformDelegate::PlatformDelegate() = default;
38 FilePathWatcher::PlatformDelegate::~PlatformDelegate() { in ~PlatformDelegate()
42 bool FilePathWatcher::Watch(const FilePath& path, in Watch()
50 bool FilePathWatcher::WatchWithOptions(const FilePath& path, in WatchWithOptions()
58 bool FilePathWatcher::WatchWithChangeInfo( in WatchWithChangeInfo()
67 bool FilePathWatcher::PlatformDelegate::WatchWithOptions( in WatchWithOptions()
74 bool FilePathWatcher::PlatformDelegate::WatchWithChangeInfo( in WatchWithChangeInfo()
81 FilePathWatcher::FilePathWatcher(std::unique_ptr<PlatformDelegate> delegate) { in FilePathWatcher() function in base::FilePathWatcher
H A Dfile_path_watcher_inotify.cc76 FilePathWatcher::ChangeType ToChangeType(const inotify_event* const event) { in ToChangeType()
81 return FilePathWatcher::ChangeType::kMoved; in ToChangeType()
83 return FilePathWatcher::ChangeType::kCreated; in ToChangeType()
85 return FilePathWatcher::ChangeType::kDeleted; in ToChangeType()
87 return FilePathWatcher::ChangeType::kModified; in ToChangeType()
172 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
188 FilePathWatcher::ChangeInfo change_info,
204 const FilePathWatcher::Callback& callback) override;
209 const FilePathWatcher::Callback& callback) override;
214 const FilePathWatcher::CallbackWithChangeInfo& callback) override;
[all …]
H A Dfile_path_watcher.h37 class BASE_EXPORT FilePathWatcher {
130 using Type = FilePathWatcher::Type;
131 using WatchOptions = FilePathWatcher::WatchOptions;
161 friend class FilePathWatcher;
181 FilePathWatcher();
182 FilePathWatcher(const FilePathWatcher&) = delete;
183 FilePathWatcher& operator=(const FilePathWatcher&) = delete;
184 ~FilePathWatcher();
217 explicit FilePathWatcher(std::unique_ptr<PlatformDelegate> delegate);
H A Dfile_path_watcher_mac.cc20 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
29 const FilePathWatcher::Callback& callback) override { in Watch()
33 if (!FilePathWatcher::RecursiveWatchAvailable()) in Watch()
57 FilePathWatcher::FilePathWatcher() in FilePathWatcher() function in base::FilePathWatcher
58 : FilePathWatcher(std::make_unique<FilePathWatcherImpl>()) {} in FilePathWatcher()
H A Dfile_path_watcher_win.cc26 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate,
37 const FilePathWatcher::Callback& callback) override;
59 FilePathWatcher::Callback callback_;
93 const FilePathWatcher::Callback& callback) { in Watch()
296 FilePathWatcher::FilePathWatcher() in FilePathWatcher() function in base::FilePathWatcher
297 : FilePathWatcher(std::make_unique<FilePathWatcherImpl>()) {} in FilePathWatcher()
H A Dfile_path_watcher_stub.cc21 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
31 const FilePathWatcher::Callback& callback) override { in Watch()
42 FilePathWatcher::FilePathWatcher() in FilePathWatcher() function in base::FilePathWatcher
43 : FilePathWatcher(std::make_unique<FilePathWatcherImpl>()) {} in FilePathWatcher()
H A Dfile_path_watcher_fsevents.h26 class FilePathWatcherFSEvents : public FilePathWatcher::PlatformDelegate {
36 const FilePathWatcher::Callback& callback) override;
76 FilePathWatcher::Callback callback_;
H A Dfile_path_watcher_kqueue.h30 class FilePathWatcherKQueue : public FilePathWatcher::PlatformDelegate {
40 const FilePathWatcher::Callback& callback) override;
117 FilePathWatcher::Callback callback_;
H A Dfile_path_watcher_fsevents.cc84 const FilePathWatcher::Callback& callback) { in Watch()
/aosp_15_r20/external/libchrome/base/files/
H A Dfile_path_watcher_unittest.cc186 FilePathWatcher* watcher,
220 FilePathWatcher* watcher, in SetupWatch()
230 FilePathWatcher watcher; in TEST_F()
242 FilePathWatcher watcher; in TEST_F()
256 FilePathWatcher watcher; in TEST_F()
268 FilePathWatcher watcher; in TEST_F()
282 : watcher_(std::make_unique<FilePathWatcher>()), in Deleter()
291 FilePathWatcher* watcher() const { return watcher_.get(); } in watcher()
294 std::unique_ptr<FilePathWatcher> watcher_;
319 FilePathWatcher watcher; in TEST_F()
[all …]
H A Dfile_path_watcher.cc15 FilePathWatcher::~FilePathWatcher() { in ~FilePathWatcher()
21 bool FilePathWatcher::RecursiveWatchAvailable() { in RecursiveWatchAvailable()
31 FilePathWatcher::PlatformDelegate::PlatformDelegate(): cancelled_(false) { in PlatformDelegate()
34 FilePathWatcher::PlatformDelegate::~PlatformDelegate() { in ~PlatformDelegate()
38 bool FilePathWatcher::Watch(const FilePath& path, in Watch()
H A Dfile_path_watcher.h33 class BASE_EXPORT FilePathWatcher {
56 friend class FilePathWatcher;
82 FilePathWatcher();
83 ~FilePathWatcher();
105 DISALLOW_COPY_AND_ASSIGN(FilePathWatcher);
H A Dfile_path_watcher_stub.cc17 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
24 const FilePathWatcher::Callback& callback) override { in Watch()
36 FilePathWatcher::FilePathWatcher() { in FilePathWatcher() function in base::FilePathWatcher
H A Dfile_path_watcher_fsevents.h27 class FilePathWatcherFSEvents : public FilePathWatcher::PlatformDelegate {
35 const FilePathWatcher::Callback& callback) override;
75 FilePathWatcher::Callback callback_;
H A Dfile_path_watcher_linux.cc111 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
140 const FilePathWatcher::Callback& callback) override;
193 FilePathWatcher::Callback callback_;
459 const FilePathWatcher::Callback& callback) { in Watch()
675 FilePathWatcher::FilePathWatcher() { in FilePathWatcher() function in base::FilePathWatcher
H A Dfile_path_watcher_kqueue.h31 class FilePathWatcherKQueue : public FilePathWatcher::PlatformDelegate {
39 const FilePathWatcher::Callback& callback) override;
112 FilePathWatcher::Callback callback_;
H A Dfile_path_watcher_fsevents.cc85 const FilePathWatcher::Callback& callback) { in Watch()
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/gensrcs/external/libchrome/base/files/
Dfile_path_watcher.h36 class BASE_EXPORT FilePathWatcher {
59 friend class FilePathWatcher;
85 FilePathWatcher();
86 ~FilePathWatcher();
108 DISALLOW_COPY_AND_ASSIGN(FilePathWatcher);
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/1/external/libchrome/base/files/
Dfile_path_watcher.h36 class BASE_EXPORT FilePathWatcher {
59 friend class FilePathWatcher;
85 FilePathWatcher();
86 ~FilePathWatcher();
108 DISALLOW_COPY_AND_ASSIGN(FilePathWatcher);
/aosp_15_r20/external/cronet/net/dns/
H A Ddns_config_service_linux.cc344 base::FilePathWatcher::Type::kNonRecursive, in Watch()
353 base::FilePathWatcher::Type::kNonRecursive, in Watch()
362 base::FilePathWatcher::Type::kNonRecursive, in Watch()
385 base::FilePathWatcher resolv_watcher_;
386 base::FilePathWatcher nsswitch_watcher_;
387 base::FilePathWatcher hosts_watcher_;
H A Ddns_config_service_posix.cc77 base::FilePathWatcher::Type::kNonRecursive, in Watch()
87 base::FilePathWatcher watcher_;
144 base::FilePathWatcher::Type::kNonRecursive, in Watch()
163 base::FilePathWatcher hosts_watcher_;
H A Ddns_config_service_win.cc543 GetHostsPath(), base::FilePathWatcher::Type::kNonRecursive, in Watch()
572 base::FilePathWatcher hosts_watcher_;
/aosp_15_r20/external/libchrome/components/policy/core/common/
H A Dconfig_dir_policy_loader.h64 base::FilePathWatcher mandatory_watcher_;
65 base::FilePathWatcher recommended_watcher_;
H A Dconfig_dir_policy_loader.cc76 base::FilePathWatcher::Callback callback = in InitOnBackgroundThread()

12