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

Issue 2857029: Fix bug in DeleteAllForURL; deletes entire store instead of just (Closed)

Created:
10 years, 5 months ago by Randy Smith (Not in Mondays)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, Erik does not do reviews, Aaron Boodman, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org
Visibility:
Public.

Description

Fix bug in DeleteAllForURL; deletes entire store instead of just cookies related to URL (found by inspection.) Also changed name and semantics to more closely reflect usage of primary caller (extension data deleter), and added test for that set of semantics. BUG=none TEST=Linux CookieMonsterTest.*:ParsedCookieTest.* (especially new CookieMonsterTest.DeleteAllHost) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51544 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51766

Patch Set 1 #

Total comments: 16

Patch Set 2 : Incorporated comments from eroman and mnissler. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -10 lines) Patch
M chrome/browser/extensions/extension_data_deleter.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/base/cookie_monster.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M net/base/cookie_monster.cc View 1 1 chunk +14 lines, -7 lines 0 comments Download
M net/base/cookie_monster_unittest.cc View 1 2 chunks +150 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Randy Smith (Not in Mondays)
Could you folks take a look at this CL? I noticed a bug in DeleteAllForURL ...
10 years, 5 months ago (2010-06-29 22:09:37 UTC) #1
Randy Smith (Not in Mondays)
On 2010/06/29 22:09:37, rdsmith wrote: > Could you folks take a look at this CL? ...
10 years, 5 months ago (2010-06-29 22:10:24 UTC) #2
eroman
LGTM > and semantics more closely reflect usage of primary caller Sounds like there is ...
10 years, 5 months ago (2010-06-29 23:53:20 UTC) #3
Mattias Nissler (ping if slow)
http://codereview.chromium.org/2857029/diff/1/5 File net/base/cookie_monster_unittest.cc (right): http://codereview.chromium.org/2857029/diff/1/5#newcode1741 net/base/cookie_monster_unittest.cc:1741: EXPECT_EQ(8U, cm->GetAllCookies().size()); This actually doesn't check that the correct ...
10 years, 5 months ago (2010-06-30 08:41:52 UTC) #4
Randy Smith (Not in Mondays)
Incorporated comments from eroman and mnissler (including typo in issue description.) Waiting on LGTMs from ...
10 years, 5 months ago (2010-06-30 19:51:11 UTC) #5
Mattias Nissler (ping if slow)
LGTM
10 years, 5 months ago (2010-06-30 21:20:45 UTC) #6
ahendrickson
10 years, 5 months ago (2010-07-01 19:10:50 UTC) #7
LGTM.

On 2010/06/30 21:20:45, mnissler wrote:
> LGTM

Powered by Google App Engine
This is Rietveld 408576698