Searched refs:ref_counted (Results 1 – 3 of 3) sorted by relevance
30 void RefCountedParam(const scoped_refptr<TestRefCounted>& ref_counted) {} in RefCountedParam() argument105 scoped_refptr<TestRefCounted> ref_counted = new TestRefCounted; in TEST() local106 EXPECT_TRUE(ref_counted->HasOneRef()); in TEST()108 CancelableClosure cancelable(base::Bind(RefCountedParam, ref_counted)); in TEST()110 EXPECT_TRUE(ref_counted.get()); in TEST()111 EXPECT_FALSE(ref_counted->HasOneRef()); in TEST()116 EXPECT_TRUE(ref_counted.get()); in TEST()117 EXPECT_TRUE(ref_counted->HasOneRef()); in TEST()
80 memory/ref_counted.cc
131 "base/memory/ref_counted.cc",