Home
last modified time | relevance | path

Searched refs:RetainedRefWrapper (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/
Dbind.h332 static inline internal::RetainedRefWrapper<T> RetainedRef(T* o) {
333 return internal::RetainedRefWrapper<T>(o);
336 static inline internal::RetainedRefWrapper<T> RetainedRef(scoped_refptr<T> o) {
337 return internal::RetainedRefWrapper<T>(std::move(o));
Dbind_internal.h86 class RetainedRefWrapper {
88 explicit RetainedRefWrapper(T* o) : ptr_(o) {} in RetainedRefWrapper() function
89 explicit RetainedRefWrapper(scoped_refptr<T> o) : ptr_(std::move(o)) {} in RetainedRefWrapper() function
899 struct BindUnwrapTraits<internal::RetainedRefWrapper<T>> {
900 static T* Unwrap(const internal::RetainedRefWrapper<T>& o) { return o.get(); }