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

Issue 2282973003: [OfflinePages] Resuming a SavePageRequest now may start processing if network is connected. (Closed)

Created:
4 years, 3 months ago by dougarnett
Modified:
4 years, 3 months ago
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[OfflinePages] Resuming a SavePageRequest now may start processing if network is connected. BUG=641411 Committed: https://crrev.com/f8c26a79f6b7b886787f6f611c3fa9c302b42abf Cr-Commit-Position: refs/heads/master@{#414887}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Consider only successful updates for determining whether to startprocessing from updated requests #

Total comments: 6

Patch Set 3 : Added TODO for double loop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -16 lines) Patch
M components/offline_pages/background/request_coordinator.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 chunks +38 lines, -16 lines 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
dougarnett
This prepared against origin so I will need some pointers in applying it to M54 ...
4 years, 3 months ago (2016-08-26 20:29:42 UTC) #4
Pete Williamson
mostly looks good, one question. https://codereview.chromium.org/2282973003/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/1/components/offline_pages/background/request_coordinator.cc#newcode236 components/offline_pages/background/request_coordinator.cc:236: request.request_state() == SavePageRequest::RequestState::AVAILABLE) We ...
4 years, 3 months ago (2016-08-26 20:39:13 UTC) #5
dougarnett
https://codereview.chromium.org/2282973003/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/1/components/offline_pages/background/request_coordinator.cc#newcode236 components/offline_pages/background/request_coordinator.cc:236: request.request_state() == SavePageRequest::RequestState::AVAILABLE) On 2016/08/26 20:39:12, Pete Williamson wrote: ...
4 years, 3 months ago (2016-08-26 20:57:47 UTC) #6
dougarnett
https://codereview.chromium.org/2282973003/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/1/components/offline_pages/background/request_coordinator.cc#newcode236 components/offline_pages/background/request_coordinator.cc:236: request.request_state() == SavePageRequest::RequestState::AVAILABLE) On 2016/08/26 20:57:47, dougarnett wrote: > ...
4 years, 3 months ago (2016-08-26 21:20:19 UTC) #11
Pete Williamson
https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode237 components/offline_pages/background/request_coordinator.cc:237: results) { What if we resume a large batch ...
4 years, 3 months ago (2016-08-26 21:23:55 UTC) #12
dougarnett
https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode237 components/offline_pages/background/request_coordinator.cc:237: results) { On 2016/08/26 21:23:55, Pete Williamson wrote: > ...
4 years, 3 months ago (2016-08-26 21:40:52 UTC) #13
Dmitry Titov
lgtm with a note: https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode241 components/offline_pages/background/request_coordinator.cc:241: available_user_request = true; +1 to ...
4 years, 3 months ago (2016-08-26 21:46:57 UTC) #15
Pete Williamson
On 2016/08/26 21:40:52, dougarnett wrote: > https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc > File components/offline_pages/background/request_coordinator.cc (right): > > https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode237 > ...
4 years, 3 months ago (2016-08-26 21:52:22 UTC) #16
Dmitry Titov
-dimich@google.com, leave dimich@chromium.org
4 years, 3 months ago (2016-08-26 21:57:05 UTC) #18
dougarnett
https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode241 components/offline_pages/background/request_coordinator.cc:241: available_user_request = true; On 2016/08/26 21:46:57, Dmitry Titov wrote: ...
4 years, 3 months ago (2016-08-26 22:33:44 UTC) #19
Pete Williamson
https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode241 components/offline_pages/background/request_coordinator.cc:241: available_user_request = true; On 2016/08/26 22:33:44, dougarnett wrote: > ...
4 years, 3 months ago (2016-08-26 23:38:02 UTC) #20
dougarnett
On 2016/08/26 23:38:02, Pete Williamson wrote: > https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc > File components/offline_pages/background/request_coordinator.cc (right): > > https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode241 ...
4 years, 3 months ago (2016-08-26 23:48:22 UTC) #21
Pete Williamson
lgtm https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2282973003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode241 components/offline_pages/background/request_coordinator.cc:241: available_user_request = true; On 2016/08/26 23:38:02, Pete Williamson ...
4 years, 3 months ago (2016-08-26 23:48:59 UTC) #22
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/2282973003/40001
4 years, 3 months ago (2016-08-26 23:51:04 UTC) #25
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/282608)
4 years, 3 months ago (2016-08-27 01:47:35 UTC) #27
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/2282973003/40001
4 years, 3 months ago (2016-08-27 02:03:46 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-27 10:29:08 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-08-27 10:31:17 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f8c26a79f6b7b886787f6f611c3fa9c302b42abf
Cr-Commit-Position: refs/heads/master@{#414887}

Powered by Google App Engine
This is Rietveld 408576698