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

Issue 2176453002: Update the request count when a request fails. (Closed)

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

Update the request count when a request fails. Also implements the UpdateRequest method on the request queue needed to be able to update the request count, and adds the appropriate tests. BUG=610521 Committed: https://crrev.com/9fb382cb6e8996b0819a398a736249555c3eaa8c Cr-Commit-Position: refs/heads/master@{#407337}

Patch Set 1 #

Total comments: 11

Patch Set 2 : CR fixes per FGorski #

Patch Set 3 : Logical Merge changes #

Patch Set 4 : Add more unit tests for RequestPicker #

Patch Set 5 : Oops, remove change from wrong branch #

Patch Set 6 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -13 lines) Patch
M components/offline_pages/background/request_coordinator.cc View 1 2 2 chunks +32 lines, -9 lines 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 1 2 3 4 5 2 chunks +14 lines, -1 line 0 comments Download
M components/offline_pages/background/request_queue.h View 3 chunks +10 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_queue.cc View 1 3 chunks +62 lines, -3 lines 0 comments Download
M components/offline_pages/background/request_queue_unittest.cc View 1 2 7 chunks +56 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
Pete Williamson
https://codereview.chromium.org/2176453002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2176453002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode209 components/offline_pages/background/request_coordinator.cc:209: /* || new_attempt_count > policy_->GetMaxRetries()*/) { This commented out ...
4 years, 5 months ago (2016-07-22 01:12:43 UTC) #2
fgorski
looks mostly OK. https://codereview.chromium.org/2176453002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2176453002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode102 components/offline_pages/background/request_coordinator.cc:102: LOG(WARNING) << "Failed to update a ...
4 years, 5 months ago (2016-07-22 16:14:58 UTC) #3
Pete Williamson
https://codereview.chromium.org/2176453002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2176453002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode102 components/offline_pages/background/request_coordinator.cc:102: LOG(WARNING) << "Failed to update a request retry count. ...
4 years, 5 months ago (2016-07-22 18:27:00 UTC) #4
fgorski
lgtm
4 years, 5 months ago (2016-07-22 20:59:44 UTC) #9
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/2176453002/40001
4 years, 5 months ago (2016-07-22 23:04:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/129408)
4 years, 5 months ago (2016-07-22 23:14:14 UTC) #14
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/2176453002/100001
4 years, 5 months ago (2016-07-23 01:02:38 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-23 03:35:21 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-23 03:38:12 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9fb382cb6e8996b0819a398a736249555c3eaa8c
Cr-Commit-Position: refs/heads/master@{#407337}

Powered by Google App Engine
This is Rietveld 408576698