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

Issue 2818783002: [Offline pages]: Implement background loader to save on last retry, and record last retry success U… (Closed)

Created:
3 years, 8 months ago by chili
Modified:
3 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, romax+watch_chromium.org, tburkard+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, gavinp+prer_chromium.org, asvitkine+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline pages]: Implement background loader to save on last retry, and record last retry success UMA separately BUG=705090 Review-Url: https://codereview.chromium.org/2818783002 Cr-Commit-Position: refs/heads/master@{#465088} Committed: https://chromium.googlesource.com/chromium/src/+/3bcd8469054bf76be2008630904f4e2f9ba146e1

Patch Set 1 : compile update #

Patch Set 2 : test update #

Patch Set 3 : request coordinator update #

Total comments: 16

Patch Set 4 : test updates so that they pass #

Total comments: 4

Patch Set 5 : update names and comments #

Total comments: 4

Patch Set 6 : Resolving code review comments #

Messages

Total messages: 46 (33 generated)
chili
3 years, 8 months ago (2017-04-13 20:51:23 UTC) #15
Pete Williamson
Looks pretty good, there are a few more test cases I'd like to see. https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc ...
3 years, 8 months ago (2017-04-13 22:57:15 UTC) #18
romax
mostly looks good and I had similar comments as petewil@. https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc File chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc (right): https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc#newcode508 ...
3 years, 8 months ago (2017-04-13 23:17:14 UTC) #19
fgorski
fix event logger, please, on top of other comments. https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner.cc File chrome/browser/android/offline_pages/background_loader_offliner.cc (right): https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode204 chrome/browser/android/offline_pages/background_loader_offliner.cc:204: ...
3 years, 8 months ago (2017-04-14 05:15:58 UTC) #20
chili
+holte for histogram update Thanks for the feedback! https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner.cc File chrome/browser/android/offline_pages/background_loader_offliner.cc (right): https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode204 chrome/browser/android/offline_pages/background_loader_offliner.cc:204: (request.started_attempt_count() ...
3 years, 8 months ago (2017-04-15 00:34:59 UTC) #24
Pete Williamson
https://codereview.chromium.org/2818783002/diff/80001/chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc File chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc (right): https://codereview.chromium.org/2818783002/diff/80001/chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc#newcode538 chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc:538: HandleTimeoutWithNoLowBarCompletedTriesMet) { Looking at this test and the next ...
3 years, 8 months ago (2017-04-17 16:40:03 UTC) #29
fgorski
https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner.cc File chrome/browser/android/offline_pages/background_loader_offliner.cc (right): https://codereview.chromium.org/2818783002/diff/60001/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode204 chrome/browser/android/offline_pages/background_loader_offliner.cc:204: (request.started_attempt_count() + 1 > policy_->GetMaxStartedTries() || On 2017/04/15 00:34:58, ...
3 years, 8 months ago (2017-04-17 17:48:59 UTC) #30
chili
https://codereview.chromium.org/2818783002/diff/80001/chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc File chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc (right): https://codereview.chromium.org/2818783002/diff/80001/chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc#newcode538 chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc:538: HandleTimeoutWithNoLowBarCompletedTriesMet) { On 2017/04/17 16:40:03, Pete Williamson wrote: > ...
3 years, 8 months ago (2017-04-17 19:37:52 UTC) #31
fgorski
lgtm As for immediate window checks I don't think there was anything you missed here.
3 years, 8 months ago (2017-04-17 19:51:36 UTC) #35
Pete Williamson
lgtm
3 years, 8 months ago (2017-04-17 20:27:44 UTC) #38
Steven Holte
lgtm
3 years, 8 months ago (2017-04-17 22:15:03 UTC) #41
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/2818783002/180001
3 years, 8 months ago (2017-04-18 00:57:36 UTC) #43
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 01:05:18 UTC) #46
Message was sent while issue was closed.
Committed patchset #6 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/3bcd8469054bf76be2008630904f...

Powered by Google App Engine
This is Rietveld 408576698