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

Issue 2685173002: Extend LargeIconService to fetch missing favicons from a Google server (Closed)

Created:
3 years, 10 months ago by jkrcal
Modified:
3 years, 8 months ago
Reviewers:
pkotwicz, jkrcal
CC:
chromium-reviews, pkl (ping after 24h if needed), droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, browser-components-watch_chromium.org, noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extend LargeIconService to fetch missing favicons from a Google server Showing good large icons independently of the local favicon cache is important for synced content or for content suggested from the server-side (such as tiles and suggestions on New Tab Page on Android). This CL extends LargeIconService with an API to fetch favicons from Google servers (i.e. without actually visiting the site). The actual client code is left outside the scope of this CL, but the new API is designed to be used only in cases where a large enough icon is not available. The design doc for this change is here: go/favicon-pe-google-server BUG=644102

Patch Set 1 #

Total comments: 23

Patch Set 2 : Peter's comments #

Patch Set 3 : Major rewrite #

Total comments: 1

Patch Set 4 : Minor cleanup #

Total comments: 4

Patch Set 5 : Peter's comments #2 (WIP) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+475 lines, -139 lines) Patch
M chrome/browser/favicon/large_icon_service_factory.cc View 1 2 2 chunks +12 lines, -4 lines 0 comments Download
M components/data_use_measurement/core/data_use_user_data.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/data_use_measurement/core/data_use_user_data.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/favicon/core/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/favicon/core/DEPS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A components/favicon/core/features.h View 1 chunk +18 lines, -0 lines 0 comments Download
A components/favicon/core/features.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M components/favicon/core/large_icon_service.h View 1 2 4 chunks +31 lines, -5 lines 0 comments Download
M components/favicon/core/large_icon_service.cc View 1 2 3 4 1 chunk +381 lines, -125 lines 0 comments Download
M components/favicon_base/favicon_types.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/favicon_base/favicon_types.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/favicon/ios_chrome_large_icon_service_factory.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (5 generated)
jkrcal
Peter, Mikel, this is the overhauled version of the FaviconService CL. Could you please take ...
3 years, 10 months ago (2017-02-09 20:34:03 UTC) #2
pkotwicz
I'll take a look at your CL on Friday
3 years, 10 months ago (2017-02-10 05:32:24 UTC) #3
jkrcal
On 2017/02/10 05:32:24, pkotwicz wrote: > I'll take a look at your CL on Friday ...
3 years, 10 months ago (2017-02-10 16:46:50 UTC) #4
pkotwicz
A few initial comments. I tried out your CL. I deleted the favicon database file ...
3 years, 10 months ago (2017-02-10 20:44:34 UTC) #5
jkrcal
Thanks, Peter! PTAL, again! Note it is WIP (one function is kept there and only ...
3 years, 10 months ago (2017-02-13 14:39:46 UTC) #7
pkotwicz
https://codereview.chromium.org/2685173002/diff/1/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/2685173002/diff/1/components/favicon/core/large_icon_service.cc#newcode229 components/favicon/core/large_icon_service.cc:229: callback_.Run(*result_); Given how you are planning on using this, ...
3 years, 10 months ago (2017-02-13 21:33:32 UTC) #9
jkrcal
Peter, this is again WIP, not working properly, yet. Please shout if you have conceptual ...
3 years, 9 months ago (2017-02-27 17:31:19 UTC) #10
pkotwicz
Your approach looks reasonable https://codereview.chromium.org/2685173002/diff/1/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/2685173002/diff/1/components/favicon/core/large_icon_service.cc#newcode362 components/favicon/core/large_icon_service.cc:362: return favicon_service_->GetLargestRawFaviconForPageURL( Doing this in ...
3 years, 9 months ago (2017-02-28 01:51:57 UTC) #11
jkrcal
Peter, no need to look, yet. Just handling over the current state of the CL ...
3 years, 9 months ago (2017-03-01 09:32:06 UTC) #12
mastiz
3 years, 9 months ago (2017-03-01 16:06:40 UTC) #13
Since Jan is OOO, I patched this CL and continued working:
https://codereview.chromium.org/2721363002

Please review that one instead, as per jan's request.

Powered by Google App Engine
This is Rietveld 408576698