Searched defs:WeakPtr (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DWeakPtr.h84 class WeakPtr { class in namespace:WTF
87 WeakPtr() { } function in class:WTF::WeakPtr
88 WeakPtr(PassRefPtr<WeakReference<T> > ref) : m_ref(ref) { } function in class:WTF::WeakPtr
92 typedef RefPtr<WeakReference<T> > (WeakPtr::*UnspecifiedBoolType);
93 operator UnspecifiedBoolType() const { return get() ? &WeakPtr::m_ref : 0; }
115 WeakPtr<T> createWeakPtr() { return WeakPtr<T>(m_ref); }
131 using WTF::WeakPtr;
/external/chromium/base/memory/
H A Dweak_ptr.h27 // static void StartNew(const WeakPtr<Controller>& controller) {
32 // Worker(const WeakPtr<Controller>& controller)
38 // WeakPtr<Controller> controller_;
48 // WARNING: weak pointers are not threadsafe!!! You must only use a WeakPtr
63 // These classes are part of the WeakPtr implementation.
69 // via base::WeakPtr::~WeakPtr().
120 // This class simplifies the implementation of WeakPtr's type conversion
122 // WeakPtr<T> cannot access the private members of WeakPtr<
154 class WeakPtr : public internal::WeakPtrBase { class in namespace:base
156 WeakPtr() : ptr_(NULL) { function in class:base::WeakPtr
161 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other), ptr_(other.get()) { function in class:base::WeakPtr
185 WeakPtr(const internal::WeakReference& ref, T* ptr) function in class:base::WeakPtr
[all...]
/external/chromium_org/base/memory/
H A Dweak_ptr.h30 // static void StartNew(const WeakPtr<Controller>& controller) {
35 // Worker(const WeakPtr<Controller>& controller)
41 // WeakPtr<Controller> controller_;
54 // To ensure correct use, the first time a WeakPtr issued by a WeakPtrFactory
76 template <typename T> class WeakPtr;
79 // These classes are part of the WeakPtr implementation.
85 // via base::WeakPtr::~WeakPtr().
129 // This class simplifies the implementation of WeakPtr's type conversion
131 // WeakPtr<
192 class WeakPtr : public internal::WeakPtrBase { class in namespace:base
194 WeakPtr() : ptr_(NULL) { function in class:base::WeakPtr
200 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other), ptr_(other.ptr_) { function in class:base::WeakPtr
243 WeakPtr(const internal::WeakReference& ref, T* ptr) function in class:base::WeakPtr
[all...]

Completed in 185 milliseconds