Searched refs:Watch (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium/base/files/
H A Dfile_path_watcher.cc20 bool FilePathWatcher::Watch(const FilePath& path, Delegate* delegate) { function in class:base::files::FilePathWatcher
22 return impl_->Watch(path, delegate);
H A Dfile_path_watcher_stub.cc17 virtual bool Watch(const FilePath& path,
H A Dfile_path_watcher_linux.cc44 typedef int Watch; // Watch descriptor used by AddWatch and RemoveWatch. typedef in class:base::files::__anon1672::InotifyReader
45 static const Watch kInvalidWatch = -1;
47 // Watch directory |path| for changes. |watcher| will be notified on each
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 watc
368 bool FilePathWatcherImpl::Watch(const FilePath& path, function in class:base::files::__anon1672::FilePathWatcherImpl
[all...]
H A Dfile_path_watcher.h47 // OnFilePathChanged() will be called on the same thread as Watch() is called,
49 bool Watch(const FilePath& path, Delegate* delegate) WARN_UNUSED_RESULT;
78 virtual bool Watch(const FilePath& path,
H A Dfile_path_watcher_win.cc27 virtual bool Watch(const FilePath& path,
80 bool FilePathWatcherImpl::Watch(const FilePath& path, function in class:base::files::__anon1675::FilePathWatcherImpl
99 // Watch was never called, or the |message_loop_| has already quit.
/external/chromium_org/base/files/
H A Dfile_path_watcher.cc32 bool FilePathWatcher::Watch(const FilePath& path, function in class:base::FilePathWatcher
36 return impl_->Watch(path, recursive, callback);
H A Dfile_path_watcher_stub.cc16 virtual bool Watch(const FilePath& path,
H A Dfile_path_watcher_linux.cc44 typedef int Watch; // Watch descriptor used by AddWatch and RemoveWatch. typedef in class:base::__anon3734::InotifyReader
45 static const Watch kInvalidWatch = -1;
47 // Watch directory |path| for changes. |watcher| will be notified on each
49 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
52 bool RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
66 base::hash_map<Watch, WatcherSet> watchers_;
95 void OnFilePathChanged(InotifyReader::Watch fired_watch,
101 virtual bool Watch(const FilePath& path,
125 WatchEntry(InotifyReader::Watch watc
362 bool FilePathWatcherImpl::Watch(const FilePath& path, function in class:base::__anon3734::FilePathWatcherImpl
[all...]
H A Dfile_path_watcher.h30 // Callback type for Watch(). |path| points to the file that was updated,
41 virtual bool Watch(const FilePath& path,
97 // Watch() will return false in the case of failure.
98 bool Watch(const FilePath& path, bool recursive, const Callback& callback);
H A Dfile_path_watcher_win.cc29 virtual bool Watch(const FilePath& path,
88 bool FilePathWatcherImpl::Watch(const FilePath& path, function in class:base::__anon3736::FilePathWatcherImpl
109 // Watch was never called, or the |message_loop_| has already quit.
/external/chromium/base/win/
H A Dobject_watcher.h86 struct Watch;
87 Watch* watch_;
H A Dobject_watcher.cc14 struct ObjectWatcher::Watch : public Task { struct in class:base::win::ObjectWatcher
50 Watch* watch = new Watch;
122 Watch* watch = static_cast<Watch*>(param);
/external/chromium_org/remoting/host/
H A Dconfig_file_watcher.cc42 void Watch(const base::FilePath& config_path);
95 void ConfigFileWatcher::Watch(const base::FilePath& config_path) { function in class:remoting::ConfigFileWatcher
96 impl_->Watch(config_path);
111 void ConfigFileWatcherImpl::Watch(const base::FilePath& config_path) { function in class:remoting::ConfigFileWatcherImpl
115 base::Bind(&ConfigFileWatcherImpl::Watch, this, config_path));
132 if (!config_watcher_->Watch(
H A Dconfig_file_watcher.h47 void Watch(const base::FilePath& config_path);
H A Dconfig_file_watcher_unittest.cc109 watcher_->Watch(config_file_);
127 watcher_->Watch(config_file_);
/external/chromium_org/net/dns/
H A Dnotify_watcher_mac.h27 bool Watch(const char* key, const CallbackType& callback);
H A Dnotify_watcher_mac.cc20 bool NotifyWatcherMac::Watch(const char* key, const CallbackType& callback) { function in class:net::NotifyWatcherMac
H A Ddns_config_service_posix.cc40 bool Watch(const base::Callback<void(bool succeeded)>& callback) { function in class:net::internal::__anon8670::ConfigWatcher
41 return watcher_.Watch(kDnsNotifyKey, callback);
60 bool Watch(const CallbackType& callback) { function in class:net::internal::__anon8670::ConfigWatcher
62 return watcher_.Watch(base::FilePath(kFilePathConfig), false,
117 bool Watch() { function in class:net::internal::DnsConfigServicePosix::Watcher
119 if (!config_watcher_.Watch(base::Bind(&Watcher::OnConfigChanged,
127 if (!hosts_watcher_.Watch(base::FilePath(kFilePathHosts), false,
256 return watcher_->Watch();
H A Ddns_config_service_win.cc284 bool Watch(const wchar_t* key, const CallbackType& callback) { function in class:net::internal::__anon8673::RegistryWatcher
525 bool Watch() { function in class:net::internal::DnsConfigServiceWin::Watcher
533 if (!tcpip_watcher_.Watch(kTcpipPath, callback)) {
541 // Watch for IPv6 nameservers.
542 tcpip6_watcher_.Watch(kTcpip6Path, callback);
550 dnscache_watcher_.Watch(kDnscachePath, callback);
551 policy_watcher_.Watch(kPolicyPath, callback);
553 if (!hosts_watcher_.Watch(GetHostsPath(), false,
701 return watcher_->Watch();
/external/chromium_org/chrome/browser/storage_monitor/
H A Dmtab_watcher_linux.cc41 bool ret = file_watcher_.Watch(
/external/chromium_org/chrome/browser/speech/
H A Dchrome_speech_recognition_manager_delegate.cc130 void Watch(int render_process_id, int render_view_id) { function in class:speech::ChromeSpeechRecognitionManagerDelegate::TabWatcher
133 &TabWatcher::Watch, this, render_process_id, render_view_id));
283 tab_watcher_->Watch(context.render_process_id, context.render_view_id);
/external/chromium/chrome/browser/policy/
H A Dfile_based_policy_loader.cc102 !watcher_->Watch(path, new FileBasedPolicyWatcherDelegate(this))) {
/external/chromium/chrome/browser/
H A Duser_style_sheet_watcher.cc153 if (!file_watcher_->Watch(
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dfile_watcher.cc26 if (!watcher->Watch(watch_path, false /* recursive */, callback))
/external/chromium_org/dbus/
H A Dbus.cc43 class Watch : public base::MessagePumpLibevent::Watcher { class in namespace:dbus::__anon8183
45 explicit Watch(DBusWatch* watch) function in class:dbus::__anon8183::Watch
50 virtual ~Watch() {
74 const bool persistent = true; // Watch persistently.
105 // Unlike Watch, Timeout is a ref counted object, to ensure that |this| of
415 // Watch Disconnected signal.
1036 Watch* watch = new Watch(raw_watch);
1047 Watch* watch = static_cast<Watch*>(dbus_watch_get_dat
[all...]

Completed in 673 milliseconds

12