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

Issue 2395213002: Implement disabled list (Closed)

Created:
4 years, 2 months ago by Pete Williamson
Modified:
4 years, 1 month ago
Reviewers:
Dmitry Titov
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, dougarnett
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement disabled list To promote using the original tab as the primary download source for a page, we are making changes to disable a page for background downloading until the foreground is done. This part of the larger change implements the disabled list. BUG=652889 Committed: https://crrev.com/f75ba66f9a4b29bc62d2716b3a2816cc69b8b271 Cr-Commit-Position: refs/heads/master@{#424226}

Patch Set 1 #

Patch Set 2 : Pass the disabled list when looking for a new request. #

Total comments: 2

Patch Set 3 : set pointer -> const ref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -7 lines) Patch
M components/offline_pages/background/request_coordinator.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M components/offline_pages/background/request_picker.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M components/offline_pages/background/request_picker.cc View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M components/offline_pages/background/request_picker_unittest.cc View 1 2 4 chunks +48 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (6 generated)
Pete Williamson
4 years, 2 months ago (2016-10-06 17:36:16 UTC) #2
Pete Williamson
Added change as suggested offline by Dimich, and a test.
4 years, 2 months ago (2016-10-07 21:58:39 UTC) #3
Dmitry Titov
lgtm with a nit to address: https://codereview.chromium.org/2395213002/diff/20001/components/offline_pages/background/request_picker.h File components/offline_pages/background/request_picker.h (right): https://codereview.chromium.org/2395213002/diff/20001/components/offline_pages/background/request_picker.h#newcode40 components/offline_pages/background/request_picker.h:40: std::set<int64_t>* disabled_requests); Could ...
4 years, 2 months ago (2016-10-10 17:18:06 UTC) #4
Pete Williamson
https://codereview.chromium.org/2395213002/diff/20001/components/offline_pages/background/request_picker.h File components/offline_pages/background/request_picker.h (right): https://codereview.chromium.org/2395213002/diff/20001/components/offline_pages/background/request_picker.h#newcode40 components/offline_pages/background/request_picker.h:40: std::set<int64_t>* disabled_requests); On 2016/10/10 17:18:06, Dmitry Titov wrote: > ...
4 years, 2 months ago (2016-10-10 18:24:49 UTC) #5
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/2395213002/40001
4 years, 2 months ago (2016-10-10 18:25:14 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/308774)
4 years, 2 months ago (2016-10-10 19:20:04 UTC) #10
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/2395213002/40001
4 years, 2 months ago (2016-10-10 19:47:14 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-10 20:37:11 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 20:40:59 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f75ba66f9a4b29bc62d2716b3a2816cc69b8b271
Cr-Commit-Position: refs/heads/master@{#424226}

Powered by Google App Engine
This is Rietveld 408576698