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

Issue 1988343003: Access-time threshold unit failure in CookieMonster. (Closed)

Created:
4 years, 7 months ago by Scott Hess - ex-Googler
Modified:
4 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Access-time threshold unit failure in CookieMonster. kDefaultAccessUpdateThresholdSeconds was being passed to last_access_threshold_milliseconds. As a result, instead of updating the last-access time only once a minute, it was being updated every few seconds. BUG=612989 Committed: https://crrev.com/f0bc1185fa559962b4f891c325f0507f847c358f Cr-Commit-Position: refs/heads/master@{#394673}

Patch Set 1 #

Patch Set 2 : Alternate proposal. #

Total comments: 10

Patch Set 3 : unused decls and nits #

Total comments: 1

Patch Set 4 : deconst #

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

Messages

Total messages: 31 (12 generated)
Scott Hess - ex-Googler
The indicated BUG is where I started to get here - but I'm willing to ...
4 years, 7 months ago (2016-05-18 21:50:01 UTC) #2
Ryan Sleevi
Mike's out, but I'm happy to drive by this and say LGTM
4 years, 7 months ago (2016-05-18 21:56:28 UTC) #4
Scott Hess - ex-Googler
On 2016/05/18 21:56:28, Ryan Sleevi wrote: > Mike's out, but I'm happy to drive by ...
4 years, 7 months ago (2016-05-18 22:00:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988343003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988343003/1
4 years, 7 months ago (2016-05-18 22:00:56 UTC) #7
Scott Hess - ex-Googler
Alternate proposal.
4 years, 7 months ago (2016-05-18 22:32:26 UTC) #9
Scott Hess - ex-Googler
Someone had an out-of-band remark on my approach along the lines of "Instead of kSeconds ...
4 years, 7 months ago (2016-05-18 22:35:20 UTC) #10
Scott Hess - ex-Googler
On 2016/05/18 21:50:01, Scott Hess wrote: > The indicated BUG is where I started to ...
4 years, 7 months ago (2016-05-18 22:36:36 UTC) #11
Ryan Hamilton
https://codereview.chromium.org/1988343003/diff/20001/net/cookies/cookie_monster.h File net/cookies/cookie_monster.h (right): https://codereview.chromium.org/1988343003/diff/20001/net/cookies/cookie_monster.h#newcode143 net/cookies/cookie_monster.h:143: const base::TimeDelta& last_access_threshold); nit: base::TimeDelta is (under the covers) ...
4 years, 7 months ago (2016-05-18 22:45:20 UTC) #13
Ryan Sleevi
I didn't want to drown you in nits, but I had thought the same. But ...
4 years, 7 months ago (2016-05-18 23:07:07 UTC) #15
Scott Hess - ex-Googler
unused decls and nits
4 years, 7 months ago (2016-05-18 23:11:22 UTC) #16
Scott Hess - ex-Googler
On 2016/05/18 23:07:07, Ryan Sleevi wrote: > I didn't want to drown you in nits, ...
4 years, 7 months ago (2016-05-18 23:14:29 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988343003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988343003/40001
4 years, 7 months ago (2016-05-18 23:31:58 UTC) #19
Ryan Hamilton
https://codereview.chromium.org/1988343003/diff/20001/net/cookies/cookie_monster.h File net/cookies/cookie_monster.h (right): https://codereview.chromium.org/1988343003/diff/20001/net/cookies/cookie_monster.h#newcode143 net/cookies/cookie_monster.h:143: const base::TimeDelta& last_access_threshold); On 2016/05/18 23:07:07, Ryan Sleevi wrote: ...
4 years, 7 months ago (2016-05-18 23:46:16 UTC) #20
Ryan Sleevi
Still LGTM :) Will follow-up separately with Ryan to avoid derailing ;) (TL;DR: What's documented ...
4 years, 7 months ago (2016-05-19 00:10:28 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-19 02:02:36 UTC) #23
Scott Hess - ex-Googler
deconst
4 years, 7 months ago (2016-05-19 03:16:00 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988343003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988343003/60001
4 years, 7 months ago (2016-05-19 03:17:11 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-19 04:36:09 UTC) #29
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 04:37:52 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f0bc1185fa559962b4f891c325f0507f847c358f
Cr-Commit-Position: refs/heads/master@{#394673}

Powered by Google App Engine
This is Rietveld 408576698