Home | History | Annotate | Download | only in memory

Lines Matching defs:WeakPtrFactory

22 //    // Member variables should appear before the WeakPtrFactory, to ensure
25 // WeakPtrFactory<Controller> weak_factory_;
54 // To ensure correct use, the first time a WeakPtr issued by a WeakPtrFactory
176 template <typename T> class WeakPtrFactory;
241 friend class WeakPtrFactory<T>;
253 // A class may be composed of a WeakPtrFactory and thereby
257 // WeakPtrFactory<bool> that is used to pass around a weak reference to a bool.
259 class WeakPtrFactory {
261 explicit WeakPtrFactory(T* ptr) : ptr_(ptr) {
264 ~WeakPtrFactory() {
288 DISALLOW_IMPLICIT_CONSTRUCTORS(WeakPtrFactory);