Home | History | Annotate | Download | only in memory

Lines Matching refs:WeakPtrFactory

23 //    // Member variables should appear before the WeakPtrFactory, to ensure
26 // WeakPtrFactory<Controller> weak_factory_;
55 // To ensure correct use, the first time a WeakPtr issued by a WeakPtrFactory
63 // unbound from the SequencedTaskRunner/Thread. The WeakPtrFactory may then be
183 template <typename T> class WeakPtrFactory;
248 friend class WeakPtrFactory<T>;
260 // A class may be composed of a WeakPtrFactory and thereby
264 // WeakPtrFactory<bool> that is used to pass around a weak reference to a bool.
266 class WeakPtrFactory {
268 explicit WeakPtrFactory(T* ptr) : ptr_(ptr) {
271 ~WeakPtrFactory() {
295 DISALLOW_IMPLICIT_CONSTRUCTORS(WeakPtrFactory);