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

Issue 18032002: Wait for store flush in CookieMonster::Delete*Task (Closed)

Created:
7 years, 5 months ago by philipj_slow
Modified:
7 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Wait for store flush in CookieMonster::Delete*Task Second attempt to commit this, after fixing a flaky test: http://code.google.com/p/chromium/issues/detail?id=302914 BUG=252217 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226720

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changes based on feedback #

Total comments: 1

Patch Set 3 : Wait for store flush in CookieMonster::Delete*Task #

Total comments: 2

Patch Set 4 : template DeleteTask #

Total comments: 2

Patch Set 5 : Simplify template structure #

Patch Set 6 : Drop the CookieMonster:: prefix wherever possible #

Total comments: 3

Patch Set 7 : address review feedback #

Total comments: 1

Patch Set 8 : rm blank lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -141 lines) Patch
M net/cookies/cookie_monster.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 2 3 4 5 6 7 22 chunks +151 lines, -140 lines 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 32 (0 generated)
philipj_slow
7 years, 5 months ago (2013-06-27 08:20:17 UTC) #1
Randy Smith (Not in Mondays)
We shouldn't commit anything without Erik's approval; he's the boss of cookies. Having said that, ...
7 years, 5 months ago (2013-06-27 14:30:20 UTC) #2
Randy Smith (Not in Mondays)
On 2013/06/27 08:20:17, philipj wrote: Also: In general you want to specify a reviewer or ...
7 years, 5 months ago (2013-06-27 14:31:21 UTC) #3
philipj_slow
On 2013/06/27 14:31:21, rdsmith wrote: > On 2013/06/27 08:20:17, philipj wrote: > > Also: In ...
7 years, 5 months ago (2013-06-28 07:09:47 UTC) #4
philipj_slow
Another approach to this to consider is to instead give the clients access to a ...
7 years, 5 months ago (2013-06-28 07:38:41 UTC) #5
Randy Smith (Not in Mondays)
On 2013/06/28 07:38:41, philipj wrote: > Another approach to this to consider is to instead ...
7 years, 5 months ago (2013-06-28 19:53:34 UTC) #6
erikwright (departed)
> Is this an acceptable solution at all? Yes. > 2. Is the !callback_.is_null() check ...
7 years, 5 months ago (2013-07-05 19:43:35 UTC) #7
philipj_slow
Sorry for the delay, but I've now found some time to look into this again. ...
7 years, 5 months ago (2013-07-17 12:05:19 UTC) #8
erikwright (departed)
Sorry, I had some unsent drafts. I'll read through today's message now. https://codereview.chromium.org/18032002/diff/1/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc ...
7 years, 5 months ago (2013-07-17 16:53:32 UTC) #9
erikwright (departed)
On 2013/07/17 12:05:19, philipj wrote: > Sorry for the delay, but I've now found some ...
7 years, 5 months ago (2013-07-17 17:26:22 UTC) #10
philipj_slow
(Sorry for the delay.) Thanks for the pointers, erikwright! You were right that I was ...
7 years, 4 months ago (2013-08-08 13:30:03 UTC) #11
erikwright (departed)
LG. Small suggestion about the OO design. Go ahead and apply to the other delete ...
7 years, 4 months ago (2013-08-09 17:31:51 UTC) #12
philipj_slow
I had the same direction in mind, so here's the new patch set which converts ...
7 years, 4 months ago (2013-08-12 11:16:23 UTC) #13
philipj_slow
> RunDeleteTask could be made to return a close to be invoked after flush, which ...
7 years, 4 months ago (2013-08-12 11:17:03 UTC) #14
philipj_slow
Apologies for dragging this out, but I'll be away (funeral) for the rest of this ...
7 years, 4 months ago (2013-08-12 14:19:21 UTC) #15
philipj_slow
I'm back now, and need some feedback on comment #13 before proceeding.
7 years, 4 months ago (2013-08-20 07:20:06 UTC) #16
erikwright (departed)
https://codereview.chromium.org/18032002/diff/18001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/18032002/diff/18001/net/cookies/cookie_monster.cc#newcode534 net/cookies/cookie_monster.cc:534: class CookieMonster::DeleteTask make this a template class template <typename ...
7 years, 3 months ago (2013-09-04 15:04:38 UTC) #17
philipj_slow
On 2013/09/04 15:04:38, erikwright wrote: > https://codereview.chromium.org/18032002/diff/18001/net/cookies/cookie_monster.cc > File net/cookies/cookie_monster.cc (right): > > https://codereview.chromium.org/18032002/diff/18001/net/cookies/cookie_monster.cc#newcode534 > ...
7 years, 3 months ago (2013-09-05 14:33:40 UTC) #18
philipj_slow
https://codereview.chromium.org/18032002/diff/27001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/18032002/diff/27001/net/cookies/cookie_monster.cc#newcode564 net/cookies/cookie_monster.cc:564: template <typename Callback> I wanted to do this: template ...
7 years, 3 months ago (2013-09-05 14:39:12 UTC) #19
erikwright (departed)
On 2013/09/05 14:33:40, philipj wrote: > On 2013/09/04 15:04:38, erikwright wrote: > > > https://codereview.chromium.org/18032002/diff/18001/net/cookies/cookie_monster.cc ...
7 years, 3 months ago (2013-09-05 14:52:48 UTC) #20
erikwright (departed)
https://codereview.chromium.org/18032002/diff/27001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/18032002/diff/27001/net/cookies/cookie_monster.cc#newcode564 net/cookies/cookie_monster.cc:564: template <typename Callback> On 2013/09/05 14:39:12, philipj wrote: > ...
7 years, 3 months ago (2013-09-05 20:28:18 UTC) #21
philipj_slow
Thanks Erik, some great ideas there. I went with the template struct to solve the ...
7 years, 3 months ago (2013-09-06 13:27:48 UTC) #22
erikwright (departed)
https://codereview.chromium.org/18032002/diff/37001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/18032002/diff/37001/net/cookies/cookie_monster.cc#newcode549 net/cookies/cookie_monster.cc:549: virtual Result RunDeleteTask() = 0; can be private. https://codereview.chromium.org/18032002/diff/37001/net/cookies/cookie_monster.cc#newcode554 ...
7 years, 3 months ago (2013-09-12 17:25:44 UTC) #23
philipj_slow
Hmm, I'm not sure if email is sent out for a new patch set (I ...
7 years, 3 months ago (2013-09-13 07:09:07 UTC) #24
erikwright (departed)
LGTM! This is a good improvement. Thank you very much. https://codereview.chromium.org/18032002/diff/46001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/18032002/diff/46001/net/cookies/cookie_monster.cc#newcode556 ...
7 years, 3 months ago (2013-09-13 14:54:29 UTC) #25
erikwright (departed)
On 2013/09/13 07:09:07, philipj wrote: > Hmm, I'm not sure if email is sent out ...
7 years, 3 months ago (2013-09-13 14:54:48 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/18032002/46001
7 years, 3 months ago (2013-09-16 06:48:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/18032002/69001
7 years, 3 months ago (2013-09-16 07:21:03 UTC) #28
commit-bot: I haz the power
Change committed as 223324
7 years, 3 months ago (2013-09-16 10:15:06 UTC) #29
philipj_slow
On 2013/09/13 14:54:29, erikwright wrote: > LGTM! > > This is a good improvement. Thank ...
7 years, 3 months ago (2013-09-16 11:21:56 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/18032002/69001
7 years, 2 months ago (2013-10-03 06:21:52 UTC) #31
commit-bot: I haz the power
7 years, 2 months ago (2013-10-03 10:13:22 UTC) #32
Message was sent while issue was closed.
Change committed as 226720

Powered by Google App Engine
This is Rietveld 408576698