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

Issue 2233493003: [Offline Pages] Remove expired requests from the queue. (Closed)

Created:
4 years, 4 months ago by romax
Modified:
4 years, 4 months ago
Reviewers:
Pete Williamson
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

[Offline Pages] Remove expired requests from the queue. Added logic to remove expired requests from the queue when picking next requests. Also added a placeholder for notification through coordinator. BUG=636185 Committed: https://crrev.com/91f93ff1742c76686413531ec1f6a5214b833bd5 Cr-Commit-Position: refs/heads/master@{#412926}

Patch Set 1 #

Patch Set 2 : Fixing patching error. #

Total comments: 6

Patch Set 3 : fixing build. #

Patch Set 4 : Merging. #

Total comments: 6

Patch Set 5 : Pulling out the notifier as an interface. #

Total comments: 6

Patch Set 6 : Comments from Pete. #

Patch Set 7 : fixing build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -41 lines) Patch
M components/offline_pages/background/request_coordinator.h View 1 2 3 4 5 chunks +9 lines, -17 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A components/offline_pages/background/request_notifier.h View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_picker.h View 1 2 3 4 2 chunks +19 lines, -3 lines 0 comments Download
M components/offline_pages/background/request_picker.cc View 1 2 3 4 4 chunks +46 lines, -6 lines 0 comments Download
M components/offline_pages/background/request_picker_unittest.cc View 1 2 3 4 5 6 11 chunks +71 lines, -14 lines 0 comments Download

Messages

Total messages: 39 (26 generated)
romax
PTAL thanks!
4 years, 4 months ago (2016-08-10 00:59:24 UTC) #2
Pete Williamson
Overall looks good. It needs to merge with a couple of changelists that are still ...
4 years, 4 months ago (2016-08-10 17:15:12 UTC) #15
romax
Pete PTAL. I'm not sure the next steps for Notify* but seems like I need ...
4 years, 4 months ago (2016-08-16 23:20:57 UTC) #16
Pete Williamson
If I understand your question about testing correctly, I think the answer is to add ...
4 years, 4 months ago (2016-08-16 23:40:46 UTC) #19
romax
Pete PTAL! I pulled out the notifier as an interface. (also the SavePageStatus which seems ...
4 years, 4 months ago (2016-08-17 20:07:59 UTC) #22
Pete Williamson
Looks good, just a few suggestions. Thanks for making a fresh interface for the notifier. ...
4 years, 4 months ago (2016-08-18 17:14:46 UTC) #23
romax
Addressed comments. Thanks for bringing up the details! And IMO, having interfaces is always helpful ...
4 years, 4 months ago (2016-08-18 17:48:39 UTC) #24
Pete Williamson
lgtm
4 years, 4 months ago (2016-08-18 17:56:08 UTC) #25
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/2233493003/100001
4 years, 4 months ago (2016-08-18 18:10:56 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/54564) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-18 18:17:21 UTC) #29
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/2233493003/120001
4 years, 4 months ago (2016-08-18 20:44:29 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-18 20:49:37 UTC) #37
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 20:51:48 UTC) #39
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/91f93ff1742c76686413531ec1f6a5214b833bd5
Cr-Commit-Position: refs/heads/master@{#412926}

Powered by Google App Engine
This is Rietveld 408576698