Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: trunk/src/net/cookies/cookie_monster_unittest.cc

Issue 23530062: Revert 223324 "Wait for store flush in CookieMonster::Delete*Task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/net/cookies/cookie_monster.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/cookies/cookie_monster_unittest.cc
===================================================================
--- trunk/src/net/cookies/cookie_monster_unittest.cc (revision 223358)
+++ trunk/src/net/cookies/cookie_monster_unittest.cc (working copy)
@@ -50,10 +50,7 @@
MOCK_METHOD1(AddCookie, void(const CanonicalCookie& cc));
MOCK_METHOD1(UpdateCookieAccessTime, void(const CanonicalCookie& cc));
MOCK_METHOD1(DeleteCookie, void(const CanonicalCookie& cc));
- virtual void Flush(const base::Closure& callback) {
- if (!callback.is_null())
- base::MessageLoop::current()->PostTask(FROM_HERE, callback);
- }
+ MOCK_METHOD1(Flush, void(const base::Closure& callback));
MOCK_METHOD0(SetForceKeepSessionState, void());
private:
« no previous file with comments | « trunk/src/net/cookies/cookie_monster.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698