Searched defs:WeakPtrFactory (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/tools/clang/plugins/tests/
H A Dweak_ptr_factory.h11 class WeakPtrFactory { class in namespace:base
13 explicit WeakPtrFactory(T*) {} function in class:base::WeakPtrFactory
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DWeakPtr.h118 class WeakPtrFactory { class in namespace:WTF
119 WTF_MAKE_NONCOPYABLE(WeakPtrFactory<T>);
122 explicit WeakPtrFactory(T* ptr) : m_ref(WeakReference<T>::create(ptr)) { } function in class:WTF::WeakPtrFactory
124 WeakPtrFactory(PassRefPtr<WeakReference<T> > ref, T* ptr) function in class:WTF::WeakPtrFactory
130 ~WeakPtrFactory() { m_ref->clear(); }
150 using WTF::WeakPtrFactory;
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dcloud_external_data_policy_observer.h120 typedef base::WeakPtrFactory<CloudExternalDataPolicyObserver>
121 WeakPtrFactory; typedef in class:policy::CloudExternalDataPolicyObserver
122 typedef std::map<std::string, linked_ptr<WeakPtrFactory> > FetchWeakPtrMap;
125 base::WeakPtrFactory<CloudExternalDataPolicyObserver> weak_factory_;
/external/chromium_org/base/memory/
H A Dweak_ptr.h22 // // 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 { class in namespace:base
261 explicit WeakPtrFactory(T* ptr) : ptr_(ptr) { function in class:base::WeakPtrFactory
264 ~WeakPtrFactory() {
[all...]

Completed in 368 milliseconds