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

/external/libchrome/base/
H A Dbind_helpers.h31 // RetainedRef() accepts a ref counted object and retains a reference to it.
77 // EXAMPLE OF RetainedRef():
82 // Closure callback = Bind(&foo, base::RetainedRef(bytes));
85 // Without RetainedRef, the scoped_refptr would try to implicitly convert to
414 static inline internal::RetainedRefWrapper<T> RetainedRef(T* o) { function in namespace:base
419 static inline internal::RetainedRefWrapper<T> RetainedRef(scoped_refptr<T> o) { function in namespace:base

Completed in 365 milliseconds