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

Issue 2646993002: Store distilled URL during distillation in Reading List on iOS (Closed)

Created:
3 years, 11 months ago by Olivier
Modified:
3 years, 11 months ago
CC:
chromium-reviews, marq+watch_chromium.org, stkhapugin, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store distilled URL during distillation in Reading List on iOS The URL of the distilled page is not necessarily the URL of the Reading List entry (incase of redirection). If the distillation is done on a redirected page, store it along the distilled_path. I also filed crbug.com/682705 to have the "redirected_url" directly in the proto file and avoid having to take it via callback. BUG=682666 Review-Url: https://codereview.chromium.org/2646993002 Cr-Commit-Position: refs/heads/master@{#445071} Committed: https://chromium.googlesource.com/chromium/src/+/69e7e3b844f1cedf53701f07bf0d3219fc2d3176

Patch Set 1 #

Total comments: 11

Patch Set 2 : feedback #

Total comments: 6

Patch Set 3 : feedback #

Total comments: 2

Patch Set 4 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -18 lines) Patch
M components/dom_distiller/ios/distiller_page_ios.h View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/dom_distiller/distiller_viewer.h View 1 chunk +3 lines, -4 lines 0 comments Download
M ios/chrome/browser/dom_distiller/distiller_viewer.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_distiller_page.h View 1 2 3 chunks +10 lines, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_distiller_page.mm View 1 2 4 chunks +14 lines, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_distiller_page_factory.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_distiller_page_factory.mm View 1 chunk +6 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/reading_list/url_downloader.h View 1 2 3 3 chunks +11 lines, -4 lines 0 comments Download
M ios/chrome/browser/reading_list/url_downloader.cc View 1 2 3 chunks +19 lines, -3 lines 0 comments Download
M ios/chrome/browser/reading_list/url_downloader_unittest.mm View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Olivier
https://codereview.chromium.org/2646993002/diff/1/components/dom_distiller/ios/distiller_page_ios.h File components/dom_distiller/ios/distiller_page_ios.h (right): https://codereview.chromium.org/2646993002/diff/1/components/dom_distiller/ios/distiller_page_ios.h#newcode9 components/dom_distiller/ios/distiller_page_ios.h:9: #include <objc/objc.h> This file use the "id" type, so ...
3 years, 11 months ago (2017-01-20 09:04:42 UTC) #2
jif
quick first pass https://codereview.chromium.org/2646993002/diff/1/components/dom_distiller/ios/distiller_page_ios.h File components/dom_distiller/ios/distiller_page_ios.h (right): https://codereview.chromium.org/2646993002/diff/1/components/dom_distiller/ios/distiller_page_ios.h#newcode9 components/dom_distiller/ios/distiller_page_ios.h:9: #include <objc/objc.h> On 2017/01/20 09:04:42, Olivier ...
3 years, 11 months ago (2017-01-20 10:23:19 UTC) #3
Olivier
https://codereview.chromium.org/2646993002/diff/1/components/dom_distiller/ios/distiller_page_ios.h File components/dom_distiller/ios/distiller_page_ios.h (right): https://codereview.chromium.org/2646993002/diff/1/components/dom_distiller/ios/distiller_page_ios.h#newcode9 components/dom_distiller/ios/distiller_page_ios.h:9: #include <objc/objc.h> On 2017/01/20 10:23:19, jif wrote: > On ...
3 years, 11 months ago (2017-01-20 10:47:07 UTC) #4
gambard
lgtm with some suggestions. https://codereview.chromium.org/2646993002/diff/20001/ios/chrome/browser/reading_list/reading_list_distiller_page.h File ios/chrome/browser/reading_list/reading_list_distiller_page.h (right): https://codereview.chromium.org/2646993002/diff/20001/ios/chrome/browser/reading_list/reading_list_distiller_page.h#newcode34 ios/chrome/browser/reading_list/reading_list_distiller_page.h:34: typedef base::Callback<void(const GURL&, const GURL&)> ...
3 years, 11 months ago (2017-01-20 14:15:14 UTC) #5
Olivier
https://codereview.chromium.org/2646993002/diff/20001/ios/chrome/browser/reading_list/reading_list_distiller_page.h File ios/chrome/browser/reading_list/reading_list_distiller_page.h (right): https://codereview.chromium.org/2646993002/diff/20001/ios/chrome/browser/reading_list/reading_list_distiller_page.h#newcode34 ios/chrome/browser/reading_list/reading_list_distiller_page.h:34: typedef base::Callback<void(const GURL&, const GURL&)> RedirectionCallback; On 2017/01/20 14:15:14, ...
3 years, 11 months ago (2017-01-20 15:31:16 UTC) #6
noyau (Ping after 24h)
lgtm https://codereview.chromium.org/2646993002/diff/40001/ios/chrome/browser/reading_list/url_downloader.h File ios/chrome/browser/reading_list/url_downloader.h (right): https://codereview.chromium.org/2646993002/diff/40001/ios/chrome/browser/reading_list/url_downloader.h#newcode60 ios/chrome/browser/reading_list/url_downloader.h:60: const std::string&)>; Please update comment for the new ...
3 years, 11 months ago (2017-01-20 15:52:17 UTC) #7
Olivier
Thanks https://codereview.chromium.org/2646993002/diff/40001/ios/chrome/browser/reading_list/url_downloader.h File ios/chrome/browser/reading_list/url_downloader.h (right): https://codereview.chromium.org/2646993002/diff/40001/ios/chrome/browser/reading_list/url_downloader.h#newcode60 ios/chrome/browser/reading_list/url_downloader.h:60: const std::string&)>; On 2017/01/20 15:52:17, noyau wrote: > ...
3 years, 11 months ago (2017-01-20 16:17:34 UTC) #8
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/2646993002/60001
3 years, 11 months ago (2017-01-20 16:17:56 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 16:30:25 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/69e7e3b844f1cedf53701f07bf0d...

Powered by Google App Engine
This is Rietveld 408576698