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

Issue 2493683002: [OfflinePages] Fixes RequestCoordinator bug not clearing state on timeout (Closed)

Created:
4 years, 1 month ago by dougarnett
Modified:
4 years, 1 month ago
Reviewers:
Pete Williamson, romax
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] Fixes RequestCoordinator bug not clearing state on timeout Factors out some OfflinerDoneCallback logic so that it may be used for handling timeout case. BUG=663948 Committed: https://crrev.com/5d66b4a41712bb24405cc261ea0ada34c4ee9eb6 Cr-Commit-Position: refs/heads/master@{#431638}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Broke out some OfflinerDoneCallback logic and reworked timeout handling #

Total comments: 4

Patch Set 3 : Adress petewil comments #

Patch Set 4 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -22 lines) Patch
M components/offline_pages/background/request_coordinator.h View 1 2 3 1 chunk +11 lines, -2 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 5 chunks +33 lines, -20 lines 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (20 generated)
dougarnett
4 years, 1 month ago (2016-11-10 00:29:23 UTC) #3
Pete Williamson
https://codereview.chromium.org/2493683002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2493683002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode247 components/offline_pages/background/request_coordinator.cc:247: AbortRequestAttempt(active_request_.get()); When we get a timeout like this, we ...
4 years, 1 month ago (2016-11-10 01:03:30 UTC) #7
dougarnett
https://codereview.chromium.org/2493683002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2493683002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode247 components/offline_pages/background/request_coordinator.cc:247: AbortRequestAttempt(active_request_.get()); On 2016/11/10 01:03:30, Pete Williamson wrote: > When ...
4 years, 1 month ago (2016-11-10 16:38:38 UTC) #8
Pete Williamson
https://codereview.chromium.org/2493683002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2493683002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode247 components/offline_pages/background/request_coordinator.cc:247: AbortRequestAttempt(active_request_.get()); On 2016/11/10 16:38:38, dougarnett wrote: > On 2016/11/10 ...
4 years, 1 month ago (2016-11-10 19:01:29 UTC) #9
dougarnett
On 2016/11/10 19:01:29, Pete Williamson wrote: > https://codereview.chromium.org/2493683002/diff/1/components/offline_pages/background/request_coordinator.cc > File components/offline_pages/background/request_coordinator.cc (right): > > https://codereview.chromium.org/2493683002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode247 ...
4 years, 1 month ago (2016-11-10 21:19:47 UTC) #13
Pete Williamson
https://codereview.chromium.org/2493683002/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2493683002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode515 components/offline_pages/background/request_coordinator.cc:515: if (ShouldTryNextRequest(watchdog_status)) Why call ShouldTryNextRequest() here? In this case, ...
4 years, 1 month ago (2016-11-11 00:24:04 UTC) #16
dougarnett
https://codereview.chromium.org/2493683002/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2493683002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode515 components/offline_pages/background/request_coordinator.cc:515: if (ShouldTryNextRequest(watchdog_status)) On 2016/11/11 00:24:04, Pete Williamson wrote: > ...
4 years, 1 month ago (2016-11-11 16:36:45 UTC) #17
Pete Williamson
lgtm
4 years, 1 month ago (2016-11-11 18:02:50 UTC) #18
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/2493683002/40001
4 years, 1 month ago (2016-11-11 19:42:58 UTC) #24
commit-bot: I haz the power
Failed to apply patch for components/offline_pages/background/request_coordinator.cc: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-11 19:48:51 UTC) #26
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/2493683002/60001
4 years, 1 month ago (2016-11-11 20:08:31 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-11 20:50:52 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 21:00:45 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5d66b4a41712bb24405cc261ea0ada34c4ee9eb6
Cr-Commit-Position: refs/heads/master@{#431638}

Powered by Google App Engine
This is Rietveld 408576698