Lines Matching refs:CallbackCounter
2135 class CallbackCounter : public base::RefCountedThreadSafe<CallbackCounter> {
2137 CallbackCounter() : callback_count_(0) {}
2148 friend class base::RefCountedThreadSafe<CallbackCounter>;
2156 scoped_refptr<CallbackCounter> counter(new CallbackCounter());
2164 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback));
2179 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback));
2200 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback));