Lines Matching refs:FlushStore
2154 // Test that FlushStore() is forwarded to the store and callbacks are posted.
2155 TEST(CookieMonsterTest, FlushStore) {
2163 // Before initialization, FlushStore() should just run the callback.
2164 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback));
2171 cm->FlushStore(NULL);
2177 // After initialization, FlushStore() should delegate to the store.
2179 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback));
2186 cm->FlushStore(NULL);
2192 // If there's no backing store, FlushStore() is always a safe no-op.
2195 cm->FlushStore(NULL);
2200 cm->FlushStore(NewRunnableMethod(counter.get(), &CallbackCounter::Callback));