Lines Matching refs:Flag
20 // Since the wait can be canceled, we have a thread-safe Flag object which is
29 class Flag : public RefCountedThreadSafe<Flag> {
31 Flag() { flag_ = false; }
54 AsyncWaiter(MessageLoop* message_loop, Task* task, Flag* flag)
85 scoped_refptr<Flag> flag_;
95 AsyncCallbackTask(Flag* flag, WaitableEventWatcher::Delegate* delegate,
115 scoped_refptr<Flag> flag_;
144 // case, we won't know that we have finished watching, expect that the Flag
157 cancel_flag_ = new Flag;
230 // a tag which is good for the lifetime of this handle: the Flag. Since we
231 // have a reference to the Flag, its memory cannot be reused while this object
233 // which shares a Flag pointer, we have a real match.