Searched refs:RetainedRefWrapper (Results 1 – 2 of 2) sorted by relevance
332 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));
86 class RetainedRefWrapper {88 explicit RetainedRefWrapper(T* o) : ptr_(o) {} in RetainedRefWrapper() function89 explicit RetainedRefWrapper(scoped_refptr<T> o) : ptr_(std::move(o)) {} in RetainedRefWrapper() function899 struct BindUnwrapTraits<internal::RetainedRefWrapper<T>> {900 static T* Unwrap(const internal::RetainedRefWrapper<T>& o) { return o.get(); }