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

Issue 2641413002: Allow InstallableManager to fetch optional badge icon (Closed)

Created:
3 years, 11 months ago by F
Modified:
3 years, 10 months ago
Reviewers:
dominickn, pkotwicz
CC:
chromium-reviews, jam, darin-cc_chromium.org, mlamouri+watch-manifest_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow InstallableManager to fetch optional badge icon This CL updates InstallableManager so that users can specify badge-icon-related parameters in InstallableParams and retrieve the most suitable badge icon in InstallableData. Unlike the primary icon, badge icon is optional. Therefore, when a badge icon is requested yet no suitable icons are found in the web manifest, the GetData process would still succeed. The badge icon is to be used for Status Bar Icons for WebAPK's notifications. BUG=649771 Review-Url: https://codereview.chromium.org/2641413002 Cr-Commit-Position: refs/heads/master@{#447154} Committed: https://chromium.googlesource.com/chromium/src/+/b205d0d471142ed307b73146e51e3576e4ffcd6e

Patch Set 1 : format #

Total comments: 20

Patch Set 2 : Addressing comments #

Total comments: 6

Patch Set 3 : Addressing comments #

Patch Set 4 : Fix rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -146 lines) Patch
M chrome/browser/installable/installable_manager.h View 1 2 6 chunks +39 lines, -10 lines 0 comments Download
M chrome/browser/installable/installable_manager.cc View 1 8 chunks +74 lines, -40 lines 0 comments Download
M chrome/browser/installable/installable_manager_browsertest.cc View 1 2 3 29 chunks +200 lines, -89 lines 0 comments Download
M chrome/browser/installable/installable_manager_unittest.cc View 1 chunk +8 lines, -6 lines 0 comments Download
M chrome/test/data/banners/manifest.json View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 40 (30 generated)
F
Hi Dominick & Peter, PTAL. Thanks!
3 years, 11 months ago (2017-01-24 19:09:35 UTC) #7
dominickn
On 2017/01/24 19:09:35, F wrote: > Hi Dominick & Peter, PTAL. Thanks! Hi Felix, I'm ...
3 years, 11 months ago (2017-01-25 01:10:14 UTC) #16
F
On 2017/01/25 01:10:14, dominickn wrote: > On 2017/01/24 19:09:35, F wrote: > > Hi Dominick ...
3 years, 11 months ago (2017-01-25 17:03:45 UTC) #17
dominickn
OK, thanks. We can leave the structure of the implementation as is then. https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc File ...
3 years, 10 months ago (2017-01-27 06:40:43 UTC) #18
F
Thanks Dominick, PTAL! https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc File chrome/browser/installable/installable_manager.cc (right): https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc#newcode304 chrome/browser/installable/installable_manager.cc:304: if (!manifest_->fetched) On 2017/01/27 06:40:42, dominickn ...
3 years, 10 months ago (2017-01-27 20:11:18 UTC) #19
dominickn
https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc File chrome/browser/installable/installable_manager.cc (right): https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc#newcode309 chrome/browser/installable/installable_manager.cc:309: !IsIconFetched(ParamsForPrimaryIcon(params))) Fair enough. Let's leave this as is for ...
3 years, 10 months ago (2017-01-30 00:51:27 UTC) #20
F
Hi Dominick, PTAL. Thanks! https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc File chrome/browser/installable/installable_manager.cc (right): https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc#newcode441 chrome/browser/installable/installable_manager.cc:441: // Filter by icon purpose. ...
3 years, 10 months ago (2017-01-30 16:50:06 UTC) #21
dominickn
lgtm if you move the purpose filtering to ManifestIconSelector asap https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc File chrome/browser/installable/installable_manager.cc (right): https://codereview.chromium.org/2641413002/diff/80001/chrome/browser/installable/installable_manager.cc#newcode441 ...
3 years, 10 months ago (2017-01-30 18:07:41 UTC) #22
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/2641413002/180001
3 years, 10 months ago (2017-01-30 22:41:19 UTC) #37
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 01:30:25 UTC) #40
Message was sent while issue was closed.
Committed patchset #4 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/b205d0d471142ed307b73146e51e...

Powered by Google App Engine
This is Rietveld 408576698