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

Issue 2351113003: Reading list downloader retries on recoverable error (Closed)

Created:
4 years, 3 months ago by gambard
Modified:
4 years, 2 months ago
CC:
chromium-reviews, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reading list downloader retries on recoverable error This CL make sure the downloads of the entries start with the delay associated with the entry and retry to download them if the failure is recoverable. BUG=629771 Committed: https://crrev.com/412ca5d4a096dbed65fda0d789ae3d6d0a1da305 Cr-Commit-Position: refs/heads/master@{#420585}

Patch Set 1 #

Patch Set 2 : Reviewable #

Total comments: 3

Patch Set 3 : Use weak pointer #

Total comments: 1

Patch Set 4 : Fix looping issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -11 lines) Patch
M ios/chrome/browser/reading_list/reading_list_download_service.h View 1 2 3 4 chunks +26 lines, -2 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.cc View 1 2 3 6 chunks +103 lines, -7 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_entry.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_entry.cc View 5 chunks +13 lines, -2 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_entry_unittest.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (7 generated)
gambard
PTAL, I will write tests before landing this. https://codereview.chromium.org/2351113003/diff/40001/ios/chrome/browser/reading_list/reading_list_download_service.cc File ios/chrome/browser/reading_list/reading_list_download_service.cc (right): https://codereview.chromium.org/2351113003/diff/40001/ios/chrome/browser/reading_list/reading_list_download_service.cc#newcode113 ios/chrome/browser/reading_list/reading_list_download_service.cc:113: base::Unretained(this), ...
4 years, 3 months ago (2016-09-20 15:55:05 UTC) #4
noyau (Ping after 24h)
https://codereview.chromium.org/2351113003/diff/40001/ios/chrome/browser/reading_list/reading_list_download_service.cc File ios/chrome/browser/reading_list/reading_list_download_service.cc (right): https://codereview.chromium.org/2351113003/diff/40001/ios/chrome/browser/reading_list/reading_list_download_service.cc#newcode113 ios/chrome/browser/reading_list/reading_list_download_service.cc:113: base::Unretained(this), entry.URL()), On 2016/09/20 15:55:05, gambard wrote: > I ...
4 years, 3 months ago (2016-09-21 11:08:06 UTC) #5
gambard
On 2016/09/21 11:08:06, noyau wrote: > https://codereview.chromium.org/2351113003/diff/40001/ios/chrome/browser/reading_list/reading_list_download_service.cc > File ios/chrome/browser/reading_list/reading_list_download_service.cc (right): > > https://codereview.chromium.org/2351113003/diff/40001/ios/chrome/browser/reading_list/reading_list_download_service.cc#newcode113 > ...
4 years, 3 months ago (2016-09-22 11:37:31 UTC) #6
gambard
PTAL. https://codereview.chromium.org/2351113003/diff/40001/ios/chrome/browser/reading_list/reading_list_download_service.cc File ios/chrome/browser/reading_list/reading_list_download_service.cc (right): https://codereview.chromium.org/2351113003/diff/40001/ios/chrome/browser/reading_list/reading_list_download_service.cc#newcode113 ios/chrome/browser/reading_list/reading_list_download_service.cc:113: base::Unretained(this), entry.URL()), On 2016/09/21 11:08:06, noyau wrote: > ...
4 years, 2 months ago (2016-09-22 13:52:46 UTC) #7
noyau (Ping after 24h)
lgtm
4 years, 2 months ago (2016-09-22 14:28:57 UTC) #8
gambard
Fix it before committing. https://codereview.chromium.org/2351113003/diff/60001/ios/chrome/browser/reading_list/reading_list_download_service.cc File ios/chrome/browser/reading_list/reading_list_download_service.cc (right): https://codereview.chromium.org/2351113003/diff/60001/ios/chrome/browser/reading_list/reading_list_download_service.cc#newcode113 ios/chrome/browser/reading_list/reading_list_download_service.cc:113: base::Bind(&ReadingListDownloadService::DownloadEntryFromURL, This is a loop
4 years, 2 months ago (2016-09-22 16:46:55 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/2351113003/80001
4 years, 2 months ago (2016-09-23 09:46:12 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 2 months ago (2016-09-23 11:20:27 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-09-23 11:22:27 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/412ca5d4a096dbed65fda0d789ae3d6d0a1da305
Cr-Commit-Position: refs/heads/master@{#420585}

Powered by Google App Engine
This is Rietveld 408576698