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

Issue 2974363002: Simplify CookieMonster::SetAllCookies{,Async}() implementation. (Closed)

Created:
3 years, 5 months ago by Randy Smith (Not in Mondays)
Modified:
3 years, 5 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify CookieMonster::SetAllCookies{,Async}() implementation. Given that for now the call must remain present but the precise semantics of the call aren't important (see https://codereview.chromium.org/2882063002/#msg64), it's worthwhile having as clean and simple an implementation of reasonable semantics as possible. BUG=None R=mmenke@chromium.org Review-Url: https://codereview.chromium.org/2974363002 Cr-Commit-Position: refs/heads/master@{#486248} Committed: https://chromium.googlesource.com/chromium/src/+/0e84cea67c8d24ab6a8d7cb1efdf5ec467c6dc38

Patch Set 1 #

Patch Set 2 : Update method description. #

Patch Set 3 : Sync'd to latest PS in base CL. #

Patch Set 4 : Sync'd to p485987 #

Total comments: 4

Patch Set 5 : Incorporated comments. #

Patch Set 6 : Sync['d up to latest PS on base CL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -216 lines) Patch
M net/cookies/cookie_monster.h View 1 2 3 4 3 chunks +2 lines, -15 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 2 3 4 5 3 chunks +6 lines, -82 lines 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -119 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (17 generated)
mmenke
Is this ready for review?
3 years, 5 months ago (2017-07-12 18:28:58 UTC) #7
Randy Smith (Not in Mondays)
On 2017/07/12 18:28:58, mmenke wrote: > Is this ready for review? Yes. (Basically clean try ...
3 years, 5 months ago (2017-07-12 18:49:17 UTC) #8
mmenke
Oops, guess this addresses one of my comments on the other CL. https://codereview.chromium.org/2974363002/diff/60001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc ...
3 years, 5 months ago (2017-07-12 18:56:35 UTC) #9
mmenke
Oh, and LGTM, modulo comments.
3 years, 5 months ago (2017-07-12 18:56:49 UTC) #10
Randy Smith (Not in Mondays)
Thanks! https://codereview.chromium.org/2974363002/diff/60001/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (left): https://codereview.chromium.org/2974363002/diff/60001/net/cookies/cookie_monster.cc#oldcode1499 net/cookies/cookie_monster.cc:1499: ComputeCookieDiff(&old_cookies, &list, &positive_diff, &negative_diff); On 2017/07/12 18:56:35, mmenke ...
3 years, 5 months ago (2017-07-12 20:07:08 UTC) #17
mmenke
LGTM, thanks for cleaning this up!
3 years, 5 months ago (2017-07-12 20:12:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2974363002/100001
3 years, 5 months ago (2017-07-13 01:25:00 UTC) #22
commit-bot: I haz the power
3 years, 5 months ago (2017-07-13 03:10:15 UTC) #25
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/0e84cea67c8d24ab6a8d7cb1efdf...

Powered by Google App Engine
This is Rietveld 408576698