Home | History | Annotate | Download | only in system

Lines Matching defs:Watcher

22 // An event may occur at any time which should trigger a Watcher to run its
28 // Therefore a Watcher needs to have some associated thread-safe state to track
30 class Watcher : public base::RefCountedThreadSafe<Watcher> {
36 // Constructs a new Watcher which watches for |signals| to be satisfied on a
39 Watcher(MojoHandleSignals signals, const WatchCallback& callback);
41 // Runs the Watcher's callback with the given arguments if it hasn't been
47 // Notifies the Watcher of a state change. This may result in the Watcher
52 // Notifies the Watcher of handle closure. This always results in the Watcher
62 friend class base::RefCountedThreadSafe<Watcher>;
64 ~Watcher();
66 // The set of signals which are watched by this Watcher.
76 // Indicates whether the watch has been cancelled. A |Watcher| may exist for a
82 DISALLOW_COPY_AND_ASSIGN(Watcher);