Searched refs:CallbackCounter (Results 1 – 2 of 2) sorted by relevance
148 class CallbackCounter : public base::RefCountedThreadSafe<CallbackCounter> { class150 CallbackCounter() : callback_count_(0) {} in CallbackCounter() function in CallbackCounter161 friend class base::RefCountedThreadSafe<CallbackCounter>;167 scoped_refptr<CallbackCounter> counter(new CallbackCounter()); in TEST_F()172 store_->Flush(NewRunnableMethod(counter.get(), &CallbackCounter::Callback)); in TEST_F()
2135 class CallbackCounter : public base::RefCountedThreadSafe<CallbackCounter> { class2137 CallbackCounter() : callback_count_(0) {} in CallbackCounter() function in net::__anonbbf0553b0311::CallbackCounter2148 friend class base::RefCountedThreadSafe<CallbackCounter>;2156 scoped_refptr<CallbackCounter> counter(new CallbackCounter()); in TEST()2164 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback)); in TEST()2179 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback)); in TEST()2200 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback)); in TEST()