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

Issue 2647763005: Store the distilled_url in Reading List entry in Reading List on iOS. (Closed)

Created:
3 years, 11 months ago by Olivier
Modified:
3 years, 11 months ago
Reviewers:
gambard, jif
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 the distilled_url in Reading List entry in Reading List on iOS. The URL of the distilled page is not necessarily the URL of the Reading List entry (in case of redirection). Store the URL of the page that was distilled in the database. This CL adds the field in ReadingListEntry. This field will be used in a next CL. BUG=682666 Review-Url: https://codereview.chromium.org/2647763005 Cr-Commit-Position: refs/heads/master@{#445063} Committed: https://chromium.googlesource.com/chromium/src/+/695d0c65669b7af00f8daec96d497519c0e0cb46

Patch Set 1 #

Total comments: 19

Patch Set 2 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -36 lines) Patch
M components/reading_list/ios/proto/reading_list.proto View 1 chunk +1 line, -0 lines 0 comments Download
M components/reading_list/ios/reading_list_entry.h View 3 chunks +7 lines, -3 lines 0 comments Download
M components/reading_list/ios/reading_list_entry.cc View 1 11 chunks +24 lines, -3 lines 0 comments Download
M components/reading_list/ios/reading_list_entry_unittest.cc View 4 chunks +11 lines, -4 lines 0 comments Download
M components/reading_list/ios/reading_list_model.h View 1 chunk +8 lines, -2 lines 0 comments Download
M components/reading_list/ios/reading_list_model_impl.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M components/reading_list/ios/reading_list_model_impl.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/reading_list/ios/reading_list_model_unittest.mm View 1 17 chunks +36 lines, -9 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_web_state_observer_unittest.mm View 1 4 chunks +13 lines, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (10 generated)
Olivier
3 years, 11 months ago (2017-01-20 08:50:14 UTC) #2
gambard
https://codereview.chromium.org/2647763005/diff/1/components/reading_list/ios/reading_list_entry.cc File components/reading_list/ios/reading_list_entry.cc (right): https://codereview.chromium.org/2647763005/diff/1/components/reading_list/ios/reading_list_entry.cc#newcode199 components/reading_list/ios/reading_list_entry.cc:199: DCHECK(!path.empty()); Maybe DCHECK(distilled_url.is_valid());? https://codereview.chromium.org/2647763005/diff/1/components/reading_list/ios/reading_list_entry.cc#newcode321 components/reading_list/ios/reading_list_entry.cc:321: GURL distilled_url = url; ...
3 years, 11 months ago (2017-01-20 14:01:25 UTC) #9
Olivier
https://codereview.chromium.org/2647763005/diff/1/components/reading_list/ios/reading_list_entry.cc File components/reading_list/ios/reading_list_entry.cc (right): https://codereview.chromium.org/2647763005/diff/1/components/reading_list/ios/reading_list_entry.cc#newcode199 components/reading_list/ios/reading_list_entry.cc:199: DCHECK(!path.empty()); On 2017/01/20 14:01:24, gambard wrote: > Maybe DCHECK(distilled_url.is_valid());? ...
3 years, 11 months ago (2017-01-20 14:43:51 UTC) #10
gambard
lgtm https://codereview.chromium.org/2647763005/diff/1/components/reading_list/ios/reading_list_model.h File components/reading_list/ios/reading_list_model.h (right): https://codereview.chromium.org/2647763005/diff/1/components/reading_list/ios/reading_list_model.h#newcode121 components/reading_list/ios/reading_list_model.h:121: virtual void SetEntryDistilledInfo(const GURL& url, On 2017/01/20 14:43:51, ...
3 years, 11 months ago (2017-01-20 14:53:32 UTC) #11
jif
lgtm
3 years, 11 months ago (2017-01-20 15:01:09 UTC) #12
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/2647763005/20001
3 years, 11 months ago (2017-01-20 15:29:30 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 15:43:30 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/695d0c65669b7af00f8daec96d49...

Powered by Google App Engine
This is Rietveld 408576698