OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Watch
(Results
1 - 5
of
5
) sorted by null
/external/chromium/base/files/
file_path_watcher.cc
20
bool FilePathWatcher::
Watch
(const FilePath& path, Delegate* delegate) {
22
return impl_->
Watch
(path, delegate);
file_path_watcher_win.cc
27
virtual bool
Watch
(const FilePath& path,
42
// Setup a
watch
handle for directory |dir|. Returns true if no fatal error
48
// (Re-)Initialize the
watch
handle.
51
// Destroy the
watch
handle.
60
// Path we're supposed to
watch
(passed to delegate).
66
// ObjectWatcher to
watch
handle_ for events.
80
bool FilePathWatcherImpl::
Watch
(const FilePath& path,
82
DCHECK(target_.value().empty()); // Can only
watch
one path.
99
//
Watch
was never called, or the |message_loop_| has already quit.
173
// The
watch
may have been cancelled by the callback
[
all
...]
file_path_watcher_linux.cc
44
typedef int
Watch
; //
Watch
descriptor used by AddWatch and RemoveWatch.
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);
51
// Remove |
watch
|. Returns true on success.
52
bool RemoveWatch(
Watch
watch
, FilePathWatcherImpl* watcher);
66
base::hash_map<
Watch
, WatcherSet> watchers_;
91
// Called for each event coming from the
watch
. |fired_watch| identifies th
257
Watch
watch
= inotify_add_
watch
(inotify_fd_, path.value().c_str(),
local
[
all
...]
file_path_watcher_mac.cc
58
virtual bool
Watch
(const FilePath& path,
419
bool FilePathWatcherImpl::
Watch
(const FilePath& path,
422
DCHECK(target_.value().empty()); // Can only
watch
one path.
/external/chromium/base/win/
object_watcher.cc
14
struct ObjectWatcher::
Watch
: public Task {
50
Watch
*
watch
= new
Watch
;
local
51
watch
->watcher = this;
52
watch
->object = object;
53
watch
->origin_loop = MessageLoop::current();
54
watch
->delegate = delegate;
55
watch
->did_signal = false;
61
if (!RegisterWaitForSingleObject(&
watch
->wait_object, object, DoneWaiting
122
Watch*
watch
= static_cast<Watch*>(param);
local
[
all
...]
Completed in 100 milliseconds