Searched defs:ScopedComPtr (Results 1 - 1 of 1) sorted by relevance
/external/chromium_org/base/win/ | ||
H A D | scoped_comptr.h | 20 class ScopedComPtr : public scoped_refptr<Interface> { class in namespace:base::win 22 // Utility template to prevent users of ScopedComPtr from calling AddRef 23 // and/or Release() without going through the ScopedComPtr class. 33 ScopedComPtr() { function in class:base::win::ScopedComPtr 36 explicit ScopedComPtr(Interface* p) : ParentClass(p) { function in class:base::win::ScopedComPtr 39 ScopedComPtr(const ScopedComPtr<Interface, interface_id>& p) argument 43 ~ScopedComPtr() { 46 COMPILE_ASSERT(sizeof(ScopedComPtr<Interface, interface_id>) == 51 // ScopedComPtr instanc [all...] |
Completed in 513 milliseconds