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

Issue 1010293002: [Icons NTP] Enable Large Icon URL storage and image fetching (Touch Icons only), behind flag. (Closed)

Created:
5 years, 9 months ago by huangs
Modified:
5 years, 7 months ago
CC:
chromium-reviews, browser-components-watch_chromium.org, beaudoin, Roger McFarlane (Chromium), stevenjb, sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Icons NTP] Enable Large Icon URL storage and image fetching (Touch Icons only), behind flag. This works with crrev.com/1007563004 so URLs for Big Icons (currently only Apple Touch Icon) are saved into Favicon database, and the icons get fetched and stored. The feature is hidden behind flag "IconNTP/Enabled". rogerm@ is working on bounding storage size of large icons. Also doing some refactoring on FaviconHandler: existing has some ambiguity on "handler type" and "icon type". BUG=467712

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -15 lines) Patch
M chrome/browser/favicon/favicon_tab_helper.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/favicon/favicon_tab_helper.cc View 6 chunks +23 lines, -0 lines 4 comments Download
M components/favicon/core/browser/favicon_handler.h View 4 chunks +10 lines, -4 lines 4 comments Download
M components/favicon/core/browser/favicon_handler.cc View 7 chunks +23 lines, -11 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
huangs
PTAL. sdefresne@: The entire flow. mathp@: Usage of flags to control feature. Thanks!
5 years, 9 months ago (2015-03-17 19:44:31 UTC) #2
Roger McFarlane (Chromium)
lgtm
5 years, 9 months ago (2015-03-17 20:10:24 UTC) #4
Mathieu
field trial code lgtm, sadly I don't have enough background on favicon fetching to review ...
5 years, 9 months ago (2015-03-17 20:13:28 UTC) #5
beaudoin
LGTM
5 years, 9 months ago (2015-03-17 20:57:52 UTC) #7
sdefresne
lgtm
5 years, 9 months ago (2015-03-18 09:53:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010293002/1
5 years, 9 months ago (2015-03-18 14:50:22 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/d6bb0847d311a0a6f696ebd1f389be5bf85e61e8 Cr-Commit-Position: refs/heads/master@{#321140}
5 years, 9 months ago (2015-03-18 15:48:16 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-18 15:48:54 UTC) #12
sky
https://codereview.chromium.org/1010293002/diff/1/chrome/browser/favicon/favicon_tab_helper.cc File chrome/browser/favicon/favicon_tab_helper.cc (right): https://codereview.chromium.org/1010293002/diff/1/chrome/browser/favicon/favicon_tab_helper.cc#newcode48 chrome/browser/favicon/favicon_tab_helper.cc:48: bool IsIconNTPEnabled() { Will this ever be used on ...
5 years, 7 months ago (2015-05-06 19:29:05 UTC) #14
huangs
Replied. Is this CL causing problem somewhere? https://codereview.chromium.org/1010293002/diff/1/chrome/browser/favicon/favicon_tab_helper.cc File chrome/browser/favicon/favicon_tab_helper.cc (right): https://codereview.chromium.org/1010293002/diff/1/chrome/browser/favicon/favicon_tab_helper.cc#newcode48 chrome/browser/favicon/favicon_tab_helper.cc:48: bool IsIconNTPEnabled() ...
5 years, 7 months ago (2015-05-06 19:59:14 UTC) #15
sky
Your patch isn't causing problems. Roger asked me to review https://codereview.chromium.org/1119163003/ and I handed see ...
5 years, 7 months ago (2015-05-06 20:13:54 UTC) #16
huangs
https://codereview.chromium.org/1010293002/diff/1/chrome/browser/favicon/favicon_tab_helper.cc File chrome/browser/favicon/favicon_tab_helper.cc (right): https://codereview.chromium.org/1010293002/diff/1/chrome/browser/favicon/favicon_tab_helper.cc#newcode71 chrome/browser/favicon/favicon_tab_helper.cc:71: if (IsIconNTPEnabled()) rogerm@ has considered this, and has a ...
5 years, 7 months ago (2015-05-06 20:33:55 UTC) #17
sky
5 years, 7 months ago (2015-05-06 20:34:36 UTC) #18
Message was sent while issue was closed.
handed? Wow. I mean 'and I searched for LARGE type and came across your patch.

On Wed, May 6, 2015 at 1:13 PM,  <sky@chromium.org> wrote:
> Your patch isn't causing problems. Roger asked me to review
> https://codereview.chromium.org/1119163003/ and I handed see the LARGE type
> and
> dug up this patch.
>
>
>
https://codereview.chromium.org/1010293002/diff/1/chrome/browser/favicon/favi...
> File chrome/browser/favicon/favicon_tab_helper.cc (right):
>
>
https://codereview.chromium.org/1010293002/diff/1/chrome/browser/favicon/favi...
> chrome/browser/favicon/favicon_tab_helper.cc:71: if (IsIconNTPEnabled())
> My concern is more of here. If IsIconNTPEnabled is true on android it
> would mean downloading icons twice. I think this should be an else (with
> a comment). Otherwise we may end up downloading the same set of icons
> twice.
>
>
https://codereview.chromium.org/1010293002/diff/1/components/favicon/core/bro...
> File components/favicon/core/browser/favicon_handler.h (right):
>
>
https://codereview.chromium.org/1010293002/diff/1/components/favicon/core/bro...
> components/favicon/core/browser/favicon_handler.h:89: static int
> GetIconTypesFromHandlerType(Type icon_type);
> On 2015/05/06 19:59:14, huangs wrote:
>>
>> An oversight from my part.  Move to private?
>
>
> Yes please.
>
> https://codereview.chromium.org/1010293002/

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698