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

Issue 2320403002: Update reading list entry on download (Closed)

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

Description

Update reading list entry on download Update reading list entry with title and downloaded path; also handle errors. Left to possibly do is handling retry vs. permanent errors. BUG=616747 Committed: https://crrev.com/65e74f6fd94834eac7bcb233f663383aa4e0bb5e Cr-Commit-Position: refs/heads/master@{#420014}

Patch Set 1 #

Total comments: 27

Patch Set 2 : fix test and big mistake in code oops #

Patch Set 3 : address comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -82 lines) Patch
M ios/chrome/browser/dom_distiller/distiller_viewer.h View 1 2 1 chunk +6 lines, -5 lines 1 comment Download
M ios/chrome/browser/dom_distiller/distiller_viewer.cc View 1 2 1 chunk +16 lines, -13 lines 1 comment Download
M ios/chrome/browser/reading_list/reading_list_download_service.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.cc View 1 2 3 chunks +22 lines, -5 lines 0 comments Download
M ios/chrome/browser/reading_list/url_downloader.h View 1 2 5 chunks +33 lines, -12 lines 0 comments Download
M ios/chrome/browser/reading_list/url_downloader.cc View 1 2 6 chunks +76 lines, -42 lines 0 comments Download
M ios/chrome/browser/reading_list/url_downloader_unittest.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (7 generated)
lody
4 years, 3 months ago (2016-09-09 09:28:00 UTC) #2
noyau (Ping after 24h)
https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.h File ios/chrome/browser/dom_distiller/distiller_viewer.h (right): https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.h#newcode32 ios/chrome/browser/dom_distiller/distiller_viewer.h:32: typedef base::Callback<void(const GURL&, Add url, to be consistent. https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/reading_list/url_downloader.cc ...
4 years, 3 months ago (2016-09-09 09:39:58 UTC) #3
sdefresne
drive by https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.cc File ios/chrome/browser/dom_distiller/distiller_viewer.cc (right): https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.cc#newcode46 ios/chrome/browser/dom_distiller/distiller_viewer.cc:46: images.push_back({GURL(image.url()), image.data()}); I think this should be: ...
4 years, 3 months ago (2016-09-09 09:58:58 UTC) #4
noyau (Ping after 24h)
4 years, 3 months ago (2016-09-09 10:20:45 UTC) #5
lody
https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.cc File ios/chrome/browser/dom_distiller/distiller_viewer.cc (right): https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.cc#newcode58 ios/chrome/browser/dom_distiller/distiller_viewer.cc:58: callback_.Run(url_, "", {}, ""); On 2016/09/09 09:58:57, sdefresne wrote: ...
4 years, 3 months ago (2016-09-09 12:17:54 UTC) #6
noyau (Ping after 24h)
lgtm https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/reading_list/url_downloader.cc File ios/chrome/browser/reading_list/url_downloader.cc (right): https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/reading_list/url_downloader.cc#newcode84 ios/chrome/browser/reading_list/url_downloader.cc:84: base::Unretained(this), url, title, success); On 2016/09/09 12:17:53, lody ...
4 years, 3 months ago (2016-09-09 12:45:22 UTC) #7
lody
On 2016/09/09 12:45:22, noyau wrote: > lgtm > > https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/reading_list/url_downloader.cc > File ios/chrome/browser/reading_list/url_downloader.cc (right): > ...
4 years, 3 months ago (2016-09-09 12:47:26 UTC) #8
sdefresne
On 2016/09/09 12:45:22, noyau wrote: > lgtm > > https://codereview.chromium.org/2320403002/diff/1/ios/chrome/browser/reading_list/url_downloader.cc > File ios/chrome/browser/reading_list/url_downloader.cc (right): > ...
4 years, 3 months ago (2016-09-09 13:01:10 UTC) #9
commit-bot: I haz the power
This CL has an open dependency (Issue 2327783002 Patch 1). Please resolve the dependency and ...
4 years, 3 months ago (2016-09-15 12:36:08 UTC) #12
gambard
https://codereview.chromium.org/2320403002/diff/40001/ios/chrome/browser/dom_distiller/distiller_viewer.h File ios/chrome/browser/dom_distiller/distiller_viewer.h (right): https://codereview.chromium.org/2320403002/diff/40001/ios/chrome/browser/dom_distiller/distiller_viewer.h#newcode35 ios/chrome/browser/dom_distiller/distiller_viewer.h:35: const std::string& title)> This breaks reader_mode_controller.mm
4 years, 3 months ago (2016-09-15 13:14:11 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/2320403002/40001
4 years, 3 months ago (2016-09-21 08:58:43 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-21 09:13:09 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 09:15:10 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/65e74f6fd94834eac7bcb233f663383aa4e0bb5e
Cr-Commit-Position: refs/heads/master@{#420014}

Powered by Google App Engine
This is Rietveld 408576698