HomeSort by relevance Sort by last modified time
    Searched defs:ScopedCFTypeRef (Results 1 - 2 of 2) sorted by null

  /external/chromium/base/mac/
scoped_cftyperef.h 17 // ScopedCFTypeRef<> is patterned after scoped_ptr<>, but maintains ownership
22 // When ScopedCFTypeRef<> takes ownership of an object (in the constructor or
24 // caller must own the object it gives to ScopedCFTypeRef<>, and relinquishes
25 // an ownership claim to that object. ScopedCFTypeRef<> does not call
28 class ScopedCFTypeRef {
32 explicit ScopedCFTypeRef(CFT object = NULL)
36 ~ScopedCFTypeRef() {
63 void swap(ScopedCFTypeRef& that) {
69 // ScopedCFTypeRef<>::release() is like scoped_ptr<>::release. It is NOT
70 // a wrapper for CFRelease(). To force a ScopedCFTypeRef<> object to cal
    [all...]
  /external/chromium_org/base/mac/
scoped_cftyperef.h 16 // ScopedCFTypeRef<> is patterned after scoped_ptr<>, but maintains ownership
21 // By default, ScopedCFTypeRef<> takes ownership of an object (in the
23 // claim. The caller must own the object it gives to ScopedCFTypeRef<>, and
24 // relinquishes an ownership claim to that object. ScopedCFTypeRef<> does not
27 // then ScopedCFTypeRef<> will call CFRetain() on the object, and the initial
31 class ScopedCFTypeRef {
35 explicit ScopedCFTypeRef(
43 ScopedCFTypeRef(const ScopedCFTypeRef<CFT>& that)
49 ~ScopedCFTypeRef() {
    [all...]

Completed in 140 milliseconds