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

Issue 2888533002: Identify MostVisited by item instead of URL (Closed)

Created:
3 years, 7 months ago by gambard
Modified:
3 years, 7 months ago
Reviewers:
jif
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews+chrome_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Identify MostVisited by item instead of URL The Most Visited items displayed by the Collection View cannot be identified by their URL as the UI layer cannot know about them. When a favicon of a Most Visited is updated, the ContentSuggestionsDataSource directly passes the item instead of the URL. BUG=707754, 720271 Review-Url: https://codereview.chromium.org/2888533002 Cr-Commit-Position: refs/heads/master@{#472466} Committed: https://chromium.googlesource.com/chromium/src/+/91228d6c2af35f799237940bd218ab5df9d18008

Patch Set 1 #

Patch Set 2 : Reviewable #

Total comments: 4

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -36 lines) Patch
M ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm View 6 chunks +18 lines, -10 lines 0 comments Download
M ios/chrome/browser/content_suggestions/mediator_util.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/content_suggestions/mediator_util.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/content_suggestions/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm View 1 2 4 chunks +22 lines, -19 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
gambard
PTAL.
3 years, 7 months ago (2017-05-16 12:15:56 UTC) #2
jif
lgtm https://codereview.chromium.org/2888533002/diff/20001/ios/chrome/browser/content_suggestions/mediator_util.h File ios/chrome/browser/content_suggestions/mediator_util.h (right): https://codereview.chromium.org/2888533002/diff/20001/ios/chrome/browser/content_suggestions/mediator_util.h#newcode63 ios/chrome/browser/content_suggestions/mediator_util.h:63: // Converts a ntp_snippets::ContentSuggestion to an adapted CollectionViewItem ...
3 years, 7 months ago (2017-05-17 13:13:28 UTC) #3
gambard
Thanks! https://codereview.chromium.org/2888533002/diff/20001/ios/chrome/browser/content_suggestions/mediator_util.h File ios/chrome/browser/content_suggestions/mediator_util.h (right): https://codereview.chromium.org/2888533002/diff/20001/ios/chrome/browser/content_suggestions/mediator_util.h#newcode63 ios/chrome/browser/content_suggestions/mediator_util.h:63: // Converts a ntp_snippets::ContentSuggestion to an adapted CollectionViewItem ...
3 years, 7 months ago (2017-05-17 14:13:32 UTC) #4
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/2888533002/40001
3 years, 7 months ago (2017-05-17 14:13:51 UTC) #7
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 16:11:32 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/91228d6c2af35f799237940bd218...

Powered by Google App Engine
This is Rietveld 408576698