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

Issue 118123004: Disk cache: Clarify API contract and delete spurious delay. (Closed)

Created:
6 years, 12 months ago by rvargas (doing something else)
Modified:
6 years, 7 months ago
Reviewers:
gavinp
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Visibility:
Public.

Description

Disk cache: Clarify API contract and delete spurious delay. The Doom* contract is meant to follow conventions used for other browsing data types, like the cookie monster. This CL clarifies the time comparisons to use. It also removes an extra delay introduced in r219969. BUG=330926 TEST=current Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270784

Patch Set 1 #

Patch Set 2 : Disable test #

Total comments: 2

Patch Set 3 : Add reference to new bug number. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M net/disk_cache/backend_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/disk_cache/disk_cache.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
rvargas (doing something else)
PTAL
6 years, 9 months ago (2014-03-18 17:53:39 UTC) #1
gavinp
https://codereview.chromium.org/118123004/diff/100001/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (left): https://codereview.chromium.org/118123004/diff/100001/net/disk_cache/backend_unittest.cc#oldcode1607 net/disk_cache/backend_unittest.cc:1607: AddDelay(); This delay is not spurious; for caches that ...
6 years, 9 months ago (2014-03-21 11:20:39 UTC) #2
rvargas (doing something else)
https://codereview.chromium.org/118123004/diff/100001/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (left): https://codereview.chromium.org/118123004/diff/100001/net/disk_cache/backend_unittest.cc#oldcode1607 net/disk_cache/backend_unittest.cc:1607: AddDelay(); On 2014/03/21 11:20:39, gavinp wrote: > This delay ...
6 years, 9 months ago (2014-03-21 18:14:41 UTC) #3
gavinp
On 2014/03/21 18:14:41, rvargas wrote: > https://codereview.chromium.org/118123004/diff/100001/net/disk_cache/backend_unittest.cc > File net/disk_cache/backend_unittest.cc (left): > > https://codereview.chromium.org/118123004/diff/100001/net/disk_cache/backend_unittest.cc#oldcode1607 > ...
6 years, 9 months ago (2014-03-21 18:56:28 UTC) #4
rvargas (doing something else)
On 2014/03/21 18:56:28, gavinp wrote: > On 2014/03/21 18:14:41, rvargas wrote: > > > https://codereview.chromium.org/118123004/diff/100001/net/disk_cache/backend_unittest.cc ...
6 years, 9 months ago (2014-03-21 18:59:31 UTC) #5
gavinp
On 2014/03/21 18:59:31, rvargas wrote: > On 2014/03/21 18:56:28, gavinp wrote: > > On 2014/03/21 ...
6 years, 9 months ago (2014-03-21 19:10:30 UTC) #6
rvargas (doing something else)
On 2014/03/21 19:10:30, gavinp wrote: > On 2014/03/21 18:59:31, rvargas wrote: > > On 2014/03/21 ...
6 years, 9 months ago (2014-03-21 19:48:40 UTC) #7
gavinp
On 2014/03/21 19:48:40, rvargas wrote: > On 2014/03/21 19:10:30, gavinp wrote: > > On 2014/03/21 ...
6 years, 9 months ago (2014-03-26 15:17:05 UTC) #8
rvargas (doing something else)
On 2014/03/26 15:17:05, gavinp wrote: > On 2014/03/21 19:48:40, rvargas wrote: > > On 2014/03/21 ...
6 years, 9 months ago (2014-03-26 22:44:26 UTC) #9
gavinp
I'm really sorry, I can't really usefully continue this review. Any attempt to delete a ...
6 years, 8 months ago (2014-03-31 18:38:56 UTC) #10
gavinp
And here's a TL;DR: Consider this code: new_entry = disk_cache->CreateEntry(stuff); new_entry->WriteData(more stuff); now = base::Time::Now(); ...
6 years, 8 months ago (2014-03-31 20:25:57 UTC) #11
rvargas (doing something else)
On 2014/03/31 20:25:57, gavinp wrote: > And here's a TL;DR: > > Consider this code: ...
6 years, 8 months ago (2014-03-31 22:12:57 UTC) #12
rvargas (doing something else)
I created another bug and added a new bug reference to the disabled test, as ...
6 years, 7 months ago (2014-05-06 23:29:13 UTC) #13
gavinp
lgtm. Sorry for the delay; have been at Blinkon in Zurich.
6 years, 7 months ago (2014-05-15 00:49:00 UTC) #14
rvargas (doing something else)
The CQ bit was checked by rvargas@chromium.org
6 years, 7 months ago (2014-05-15 01:36:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rvargas@chromium.org/118123004/130001
6 years, 7 months ago (2014-05-15 01:37:39 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 03:24:12 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 03:28:03 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/152170)
6 years, 7 months ago (2014-05-15 03:28:04 UTC) #19
rvargas (doing something else)
The CQ bit was checked by rvargas@chromium.org
6 years, 7 months ago (2014-05-15 19:07:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rvargas@chromium.org/118123004/130001
6 years, 7 months ago (2014-05-15 19:08:59 UTC) #21
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 19:43:54 UTC) #22
Message was sent while issue was closed.
Change committed as 270784

Powered by Google App Engine
This is Rietveld 408576698