Searched defs:weak_factory_ (Results 1 - 2 of 2) sorted by relevance
/external/chromium/base/memory/ |
H A D | scoped_callback_factory.h | 47 explicit ScopedCallbackFactory(T* obj) : weak_factory_(obj) { 53 weak_factory_.GetWeakPtr(), method); 60 weak_factory_.GetWeakPtr(), method); 67 weak_factory_.GetWeakPtr(), method); 75 weak_factory_.GetWeakPtr(), method); 83 weak_factory_.GetWeakPtr(), method); 92 weak_factory_.GetWeakPtr(), method); 95 void RevokeAll() { weak_factory_.InvalidateWeakPtrs(); } 96 bool HasPendingCallbacks() const { return weak_factory_.HasWeakPtrs(); } 128 WeakPtrFactory<T> weak_factory_; member in class:base::ScopedCallbackFactory [all...] |
/external/chromium/base/ |
H A D | task.h | 86 explicit ScopedRunnableMethodFactory(T* object) : weak_factory_(object) { 92 weak_factory_.GetWeakPtr(), method, MakeTuple()); 98 weak_factory_.GetWeakPtr(), method, MakeTuple(a)); 105 weak_factory_.GetWeakPtr(), method, MakeTuple(a, b)); 114 weak_factory_.GetWeakPtr(), method, MakeTuple(a, b, c)); 124 weak_factory_.GetWeakPtr(), method, MakeTuple(a, b, c, d)); 135 weak_factory_.GetWeakPtr(), method, MakeTuple(a, b, c, d, e)); 138 void RevokeAll() { weak_factory_.InvalidateWeakPtrs(); } 140 bool empty() const { return !weak_factory_.HasWeakPtrs(); } 175 base::WeakPtrFactory<T> weak_factory_; member in class:ScopedRunnableMethodFactory [all...] |
Completed in 72 milliseconds