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

Issue 2176393004: Add expiration policy, code to check it, and a test. (Closed)

Created:
4 years, 4 months ago by Pete Williamson
Modified:
4 years, 4 months ago
Reviewers:
dougarnett
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add expiration policy, code to check it, and a test. BUG=610521 Committed: https://crrev.com/e5a3ddef4de9eb3d1ddf3d8bae1994c810b82b98 Cr-Commit-Position: refs/heads/master@{#408202}

Patch Set 1 #

Total comments: 6

Patch Set 2 : CR feedback per DougArnett #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -1 line) Patch
M components/offline_pages/background/offliner_policy.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M components/offline_pages/background/request_picker.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_picker_unittest.cc View 1 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Pete Williamson
4 years, 4 months ago (2016-07-27 00:30:18 UTC) #2
dougarnett
https://codereview.chromium.org/2176393004/diff/1/components/offline_pages/background/request_picker.cc File components/offline_pages/background/request_picker.cc (right): https://codereview.chromium.org/2176393004/diff/1/components/offline_pages/background/request_picker.cc#newcode121 components/offline_pages/background/request_picker.cc:121: return false; Maybe add TODO wrt need to remove ...
4 years, 4 months ago (2016-07-27 15:40:41 UTC) #3
dougarnett
https://codereview.chromium.org/2176393004/diff/1/components/offline_pages/background/offliner_policy.h File components/offline_pages/background/offliner_policy.h (right): https://codereview.chromium.org/2176393004/diff/1/components/offline_pages/background/offliner_policy.h#newcode81 components/offline_pages/background/offliner_policy.h:81: int GetPageExpirationTimeInSeconds() const { Actually seems to be "Request" ...
4 years, 4 months ago (2016-07-27 15:45:13 UTC) #4
Pete Williamson
https://codereview.chromium.org/2176393004/diff/1/components/offline_pages/background/offliner_policy.h File components/offline_pages/background/offliner_policy.h (right): https://codereview.chromium.org/2176393004/diff/1/components/offline_pages/background/offliner_policy.h#newcode81 components/offline_pages/background/offliner_policy.h:81: int GetPageExpirationTimeInSeconds() const { On 2016/07/27 15:45:13, dougarnett wrote: ...
4 years, 4 months ago (2016-07-27 17:20:06 UTC) #5
dougarnett
lgtm
4 years, 4 months ago (2016-07-27 17:43:16 UTC) #6
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/2176393004/20001
4 years, 4 months ago (2016-07-27 17:44:59 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-27 18:55:10 UTC) #9
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 18:56:55 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e5a3ddef4de9eb3d1ddf3d8bae1994c810b82b98
Cr-Commit-Position: refs/heads/master@{#408202}

Powered by Google App Engine
This is Rietveld 408576698