Lines Matching refs:SimpleWatcher
21 class SimpleWatcher::Context : public base::RefCountedThreadSafe<Context> {
26 base::WeakPtr<SimpleWatcher> watcher, in Create()
73 Context(base::WeakPtr<SimpleWatcher> weak_watcher, in Context()
108 FROM_HERE, base::Bind(&SimpleWatcher::OnHandleReady, weak_watcher_, in Notify()
113 const base::WeakPtr<SimpleWatcher> weak_watcher_;
123 SimpleWatcher::SimpleWatcher(const base::Location& from_here, in SimpleWatcher() function in mojo::SimpleWatcher
138 SimpleWatcher::~SimpleWatcher() { in ~SimpleWatcher()
143 bool SimpleWatcher::IsWatching() const { in IsWatching()
148 MojoResult SimpleWatcher::Watch(Handle handle, in Watch()
177 void SimpleWatcher::Cancel() { in Cancel()
206 MojoResult SimpleWatcher::Arm(MojoResult* ready_result, in Arm()
229 void SimpleWatcher::ArmOrNotify() { in ArmOrNotify()
245 base::Bind(&SimpleWatcher::OnHandleReady, weak_factory_.GetWeakPtr(), in ArmOrNotify()
249 void SimpleWatcher::OnHandleReady(int watch_id, in OnHandleReady()
272 base::WeakPtr<SimpleWatcher> weak_self = weak_factory_.GetWeakPtr(); in OnHandleReady()