Searched refs:ScopedRefPtrCountDerived (Results 1 – 2 of 2) sorted by relevance
81 class ScopedRefPtrCountDerived : public ScopedRefPtrCountBase { class83 ScopedRefPtrCountDerived() { ++constructor_count_; } in ScopedRefPtrCountDerived() function in __anon74b99cce0111::ScopedRefPtrCountDerived95 ~ScopedRefPtrCountDerived() override { ++destructor_count_; } in ~ScopedRefPtrCountDerived()98 friend class base::RefCounted<ScopedRefPtrCountDerived>;104 int ScopedRefPtrCountDerived::constructor_count_ = 0;105 int ScopedRefPtrCountDerived::destructor_count_ = 0;328 ScopedRefPtrCountDerived::reset_count(); in TEST()335 EXPECT_EQ(0, ScopedRefPtrCountDerived::constructor_count()); in TEST()336 EXPECT_EQ(0, ScopedRefPtrCountDerived::destructor_count()); in TEST()339 ScopedRefPtrCountDerived *raw2 = new ScopedRefPtrCountDerived(); in TEST()[all …]
82 class ScopedRefPtrCountDerived : public ScopedRefPtrCountBase { class84 ScopedRefPtrCountDerived() { ++constructor_count_; } in ScopedRefPtrCountDerived() function in __anon091b83080111::ScopedRefPtrCountDerived96 ~ScopedRefPtrCountDerived() override { ++destructor_count_; } in ~ScopedRefPtrCountDerived()99 friend class base::RefCounted<ScopedRefPtrCountDerived>;105 int ScopedRefPtrCountDerived::constructor_count_ = 0;106 int ScopedRefPtrCountDerived::destructor_count_ = 0;339 ScopedRefPtrCountDerived::reset_count(); in TEST()346 EXPECT_EQ(0, ScopedRefPtrCountDerived::constructor_count()); in TEST()347 EXPECT_EQ(0, ScopedRefPtrCountDerived::destructor_count()); in TEST()350 ScopedRefPtrCountDerived *raw2 = new ScopedRefPtrCountDerived(); in TEST()[all …]