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

Issue 2781583002: [Content suggestions] Add a function to the service API to fetch favicons (Closed)

Created:
3 years, 9 months ago by jkrcal
Modified:
3 years, 8 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Content suggestions] Add an interface to fetch favicons This CL is a first step towards fetching publishers favicons in c++, using the new API function of LargeIconService. The purpose of this CL is to divide follow-up tasks into smaller chunks. In follow-up CLs, I will: - implement the actual functionality in ContentSuggestionsService, - create a trial feature to experiment with the new code path, - use the code on the Java side. BUG=692975 Review-Url: https://codereview.chromium.org/2781583002 Cr-Commit-Position: refs/heads/master@{#460320} Committed: https://chromium.googlesource.com/chromium/src/+/10004604d31dfc0134b334d946f7f62550b2b6da

Patch Set 1 #

Patch Set 2 : Expand the FakeSuggestionsSource #

Total comments: 18

Patch Set 3 : Comments #1 #

Patch Set 4 : Fix compilation #

Patch Set 5 : Fix compilation #2 #

Messages

Total messages: 32 (23 generated)
jkrcal
Bernhard, could you PTAL?
3 years, 9 months ago (2017-03-27 16:45:55 UTC) #4
jkrcal
Michael, could you PTAL at FakeSuggestionsSource? (Maybe it would be more in the spirit of ...
3 years, 9 months ago (2017-03-27 17:40:19 UTC) #9
Bernhard Bauer
lgtm https://codereview.chromium.org/2781583002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java (right): https://codereview.chromium.org/2781583002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java#newcode89 chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java:89: void fetchSuggestionFavicon(SnippetArticle suggestion, int minimumSizeInPixel, Nit: The usual ...
3 years, 8 months ago (2017-03-28 10:11:05 UTC) #10
Michael van Ouwerkerk
And what Bernhard said. https://codereview.chromium.org/2781583002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java (right): https://codereview.chromium.org/2781583002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java#newcode82 chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java:82: * @param minimumSizeInPixel Minimal required ...
3 years, 8 months ago (2017-03-28 11:23:56 UTC) #11
Michael van Ouwerkerk
On 2017/03/27 17:40:19, jkrcal wrote: > Michael, could you PTAL at FakeSuggestionsSource? > > (Maybe ...
3 years, 8 months ago (2017-03-28 11:24:35 UTC) #12
jkrcal
Thanks for the detailed review! Michael, PTAL again. https://codereview.chromium.org/2781583002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java (right): https://codereview.chromium.org/2781583002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java#newcode82 chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsSource.java:82: * ...
3 years, 8 months ago (2017-03-28 13:12:53 UTC) #13
Michael van Ouwerkerk
Thanks! lgtm
3 years, 8 months ago (2017-03-28 13:21:34 UTC) #16
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/2781583002/80001
3 years, 8 months ago (2017-03-29 07:40:19 UTC) #29
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 07:45:46 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/10004604d31dfc0134b334d946f7...

Powered by Google App Engine
This is Rietveld 408576698