Lines Matching refs:Flag
23 // Since the wait can be canceled, we have a thread-safe Flag object which is
32 class Flag : public RefCountedThreadSafe<Flag> {
34 Flag() { flag_ = false; }
47 friend class RefCountedThreadSafe<Flag>;
48 ~Flag() {}
53 DISALLOW_COPY_AND_ASSIGN(Flag);
64 Flag* flag)
90 scoped_refptr<Flag> flag_;
98 void AsyncCallbackHelper(Flag* flag,
133 // case, we won't know that we have finished watching, expect that the Flag
146 cancel_flag_ = new Flag;
220 // a tag which is good for the lifetime of this handle: the Flag. Since we
221 // have a reference to the Flag, its memory cannot be reused while this object
223 // which shares a Flag pointer, we have a real match.