Home
last modified time | relevance | path

Searched refs:CallbackCounter (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/net/
Dsqlite_persistent_cookie_store_unittest.cc148 class CallbackCounter : public base::RefCountedThreadSafe<CallbackCounter> { class
150 CallbackCounter() : callback_count_(0) {} in CallbackCounter() function in CallbackCounter
161 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()
/external/chromium/net/base/
Dcookie_monster_unittest.cc2135 class CallbackCounter : public base::RefCountedThreadSafe<CallbackCounter> { class
2137 CallbackCounter() : callback_count_(0) {} in CallbackCounter() function in net::__anonbbf0553b0311::CallbackCounter
2148 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()