| Index: net/cookies/cookie_monster_unittest.cc
|
| diff --git a/net/cookies/cookie_monster_unittest.cc b/net/cookies/cookie_monster_unittest.cc
|
| index d1ce04f3885f2bf2c4182cb9df5d4b38545f8573..1780bf4d2c6db36e2da4b84d89f3688dd5c92362 100644
|
| --- a/net/cookies/cookie_monster_unittest.cc
|
| +++ b/net/cookies/cookie_monster_unittest.cc
|
| @@ -50,7 +50,10 @@ class NewMockPersistentCookieStore
|
| MOCK_METHOD1(AddCookie, void(const CanonicalCookie& cc));
|
| MOCK_METHOD1(UpdateCookieAccessTime, void(const CanonicalCookie& cc));
|
| MOCK_METHOD1(DeleteCookie, void(const CanonicalCookie& cc));
|
| - MOCK_METHOD1(Flush, void(const base::Closure& callback));
|
| + virtual void Flush(const base::Closure& callback) {
|
| + if (!callback.is_null())
|
| + base::MessageLoop::current()->PostTask(FROM_HERE, callback);
|
| + }
|
| MOCK_METHOD0(SetForceKeepSessionState, void());
|
|
|
| private:
|
|
|