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

Issue 2642233002: Require WebApp & WebAPK primary icons to have IconPurpose::ANY (Closed)

Created:
3 years, 11 months ago by F
Modified:
3 years, 11 months ago
Reviewers:
dominickn
CC:
chromium-reviews, pkotwicz
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Require WebApp & WebAPK primary icons to have IconPurpose::ANY Icons with only IconPurpose::BADGE as icon purposes should not be used as primary icons for WebApps or WebAPKs. The "purpose" attribute of icons, if not set, defaults to IconPurpose::ANY. BUG=649771 Review-Url: https://codereview.chromium.org/2642233002 Cr-Commit-Position: refs/heads/master@{#445554} Committed: https://chromium.googlesource.com/chromium/src/+/4ca25bc262eece0c27b52eefec27ffb969359144

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing comments #

Patch Set 3 : Use base utils functions #

Patch Set 4 : Fix comment #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -2 lines) Patch
M chrome/browser/installable/installable_logging.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/installable/installable_manager.cc View 1 2 3 4 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/installable/installable_manager_unittest.cc View 3 chunks +17 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (11 generated)
F
Hi Dominick, PTAL. Thanks!
3 years, 11 months ago (2017-01-19 22:47:44 UTC) #3
dominickn
Please update installable_logging.cc:kManifestMissingSuitableIconMessage to mention that 'the icon purpose property must include "any (or be ...
3 years, 11 months ago (2017-01-19 23:29:21 UTC) #4
F
Thanks Dominick! PTAL https://codereview.chromium.org/2642233002/diff/1/chrome/browser/installable/installable_manager.cc File chrome/browser/installable/installable_manager.cc (right): https://codereview.chromium.org/2642233002/diff/1/chrome/browser/installable/installable_manager.cc#newcode37 chrome/browser/installable/installable_manager.cc:37: for (IconPurpose icon_purpose : icon.purpose) { ...
3 years, 11 months ago (2017-01-20 00:36:01 UTC) #6
dominickn
lgtm
3 years, 11 months ago (2017-01-20 00:37:21 UTC) #7
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/2642233002/110001
3 years, 11 months ago (2017-01-23 23:22:59 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 00:18:39 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/4ca25bc262eece0c27b52eefec27...

Powered by Google App Engine
This is Rietveld 408576698