Searched refs:ScopedRefPtrCountBase (Results 1 – 2 of 2) sorted by relevance
55 class ScopedRefPtrCountBase : public base::RefCounted<ScopedRefPtrCountBase> { class57 ScopedRefPtrCountBase() { ++constructor_count_; } in ScopedRefPtrCountBase() function in __anon74b99cce0111::ScopedRefPtrCountBase69 virtual ~ScopedRefPtrCountBase() { ++destructor_count_; } in ~ScopedRefPtrCountBase()72 friend class base::RefCounted<ScopedRefPtrCountBase>;78 int ScopedRefPtrCountBase::constructor_count_ = 0;79 int ScopedRefPtrCountBase::destructor_count_ = 0;81 class ScopedRefPtrCountDerived : public ScopedRefPtrCountBase {173 ScopedRefPtrCountBase::reset_count(); in TEST()176 ScopedRefPtrCountBase *raw = new ScopedRefPtrCountBase(); in TEST()177 scoped_refptr<ScopedRefPtrCountBase> p1(raw); in TEST()[all …]
56 class ScopedRefPtrCountBase : public base::RefCounted<ScopedRefPtrCountBase> { class58 ScopedRefPtrCountBase() { ++constructor_count_; } in ScopedRefPtrCountBase() function in __anon091b83080111::ScopedRefPtrCountBase70 virtual ~ScopedRefPtrCountBase() { ++destructor_count_; } in ~ScopedRefPtrCountBase()73 friend class base::RefCounted<ScopedRefPtrCountBase>;79 int ScopedRefPtrCountBase::constructor_count_ = 0;80 int ScopedRefPtrCountBase::destructor_count_ = 0;82 class ScopedRefPtrCountDerived : public ScopedRefPtrCountBase {184 ScopedRefPtrCountBase::reset_count(); in TEST()187 ScopedRefPtrCountBase *raw = new ScopedRefPtrCountBase(); in TEST()188 scoped_refptr<ScopedRefPtrCountBase> p1(raw); in TEST()[all …]