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

Issue 1547413002: Reland of Change extension icon load errors to warnings (Closed)

Created:
4 years, 11 months ago by Evan Stade
Modified:
4 years, 11 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Change extension icon load errors to warnings (patchset #2 id:300001 of https://codereview.chromium.org/1554583002/ ) Reason for revert: this revert managed to break the tree Original issue's description: > Revert of Change extension icon load errors to warnings (patchset #8 id:140001 of https://codereview.chromium.org/1537473003/ ) > > Reason for revert: > file read from wrong thread > > Original issue's description: > > Change extension icon load errors to warnings > > > > During the Extension parsing step, check if the icon file exists and if not, remove that entry from the dictionary. > > > > Keep the same check during the validation phase and don't apply the workaround to unpacked extensions. This will more strongly discourage new extensions from making this mistake. > > > > BUG=570249 > > > > Committed: https://crrev.com/6e8e7d1c49657e82d0e8f2518ad463794346321b > > Cr-Commit-Position: refs/heads/master@{#366253} > > TBR=rdevlin.cronin@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=570249 > > Committed: https://crrev.com/36dab10ffd04f3e38285bda1e4af07a7de081a31 > Cr-Commit-Position: refs/heads/master@{#367080} TBR=rdevlin.cronin@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=570249 Committed: https://crrev.com/82eaf58a99fb2cfd7c482ee301d57e00508a903a Cr-Commit-Position: refs/heads/master@{#367081}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -28 lines) Patch
A chrome/browser/extensions/api/extension_action/browser_action_unittest.cc View 1 chunk +70 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_action_manager_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service_test_with_install.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service_test_with_install.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_action/action_info.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/extension_action/action_info.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_icons_unittest.cc View 2 chunks +15 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/missing_icon/manifest.json View 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/multi_icons/manifest.json View 1 chunk +13 lines, -0 lines 0 comments Download
M extensions/common/file_util.h View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/common/file_util.cc View 1 chunk +0 lines, -10 lines 1 comment Download
M extensions/common/file_util_unittest.cc View 1 chunk +24 lines, -4 lines 0 comments Download
M extensions/common/manifest_handler_helpers.h View 3 chunks +9 lines, -2 lines 0 comments Download
M extensions/common/manifest_handler_helpers.cc View 3 chunks +22 lines, -2 lines 0 comments Download
M extensions/common/manifest_handlers/icons_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/test/data/file_util/bad_icon/manifest.json View 1 chunk +3 lines, -1 line 0 comments Download
M extensions/utility/unpacker.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Evan Stade
Created Reland of Change extension icon load errors to warnings
4 years, 11 months ago (2015-12-29 17:50:15 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547413002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547413002/1
4 years, 11 months ago (2015-12-29 17:50:32 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2015-12-29 17:51:39 UTC) #3
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/82eaf58a99fb2cfd7c482ee301d57e00508a903a Cr-Commit-Position: refs/heads/master@{#367081}
4 years, 11 months ago (2015-12-29 17:52:16 UTC) #5
Lei Zhang
4 years, 11 months ago (2015-12-29 19:48:39 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/1547413002/diff/1/extensions/common/file_util.cc
File extensions/common/file_util.cc (left):

https://codereview.chromium.org/1547413002/diff/1/extensions/common/file_util...
extensions/common/file_util.cc:61: int64 size = 0;
avi@ got rid of base/basictypes.h, see chromium-dev PSA.

Powered by Google App Engine
This is Rietveld 408576698