Home
last modified time | relevance | path

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

/external/libchrome/base/
Dbind_internal.h112 class OwnedWrapper {
114 explicit OwnedWrapper(T* o) : ptr_(o) {} in OwnedWrapper() function
115 ~OwnedWrapper() { delete ptr_; } in ~OwnedWrapper()
117 OwnedWrapper(OwnedWrapper&& other) { in OwnedWrapper() function
904 struct BindUnwrapTraits<internal::OwnedWrapper<T>> {
905 static T* Unwrap(const internal::OwnedWrapper<T>& o) { return o.get(); }
Dbind.h386 static inline internal::OwnedWrapper<T> Owned(T* o) {
387 return internal::OwnedWrapper<T>(o);