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

Issue 1409393009: Skip extension management policy checks when installing a bookmark app. (Closed)

Created:
5 years, 1 month ago by dominickn
Modified:
5 years, 1 month ago
Reviewers:
benwells
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bookmark-app-crash-fix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip extension management policy checks when installing a bookmark app. Add to shelf on ChromeOS installs a bookmark app, which uses an extension under the hood. Extension blacklist policies which prevent extensions from being installed also disable the add to shelf feature silently. This CL skips the policy checks for bookmark app installation, allowing add to shelf to function when extensions are blacklisted. BUG=545541 R=benwells Committed: https://crrev.com/07741f84211e9953e97904782561dbb2056cc569 Cr-Commit-Position: refs/heads/master@{#357040}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -9 lines) Patch
M chrome/browser/extensions/crx_installer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 2 chunks +15 lines, -7 lines 2 comments Download

Depends on Patchset:

Messages

Total messages: 8 (1 generated)
dominickn
PTAL, thanks!
5 years, 1 month ago (2015-10-30 02:12:26 UTC) #1
benwells
could we get a test for this? https://codereview.chromium.org/1409393009/diff/1/chrome/browser/extensions/crx_installer.cc File chrome/browser/extensions/crx_installer.cc (right): https://codereview.chromium.org/1409393009/diff/1/chrome/browser/extensions/crx_installer.cc#newcode516 chrome/browser/extensions/crx_installer.cc:516: // checks ...
5 years, 1 month ago (2015-10-30 02:24:14 UTC) #2
dominickn
https://codereview.chromium.org/1409393009/diff/1/chrome/browser/extensions/crx_installer.cc File chrome/browser/extensions/crx_installer.cc (right): https://codereview.chromium.org/1409393009/diff/1/chrome/browser/extensions/crx_installer.cc#newcode516 chrome/browser/extensions/crx_installer.cc:516: // checks if the extension is a bookmark app. ...
5 years, 1 month ago (2015-10-30 02:42:30 UTC) #3
benwells
ok, that all makes sense. lgtm
5 years, 1 month ago (2015-10-30 03:24:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409393009/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409393009/1
5 years, 1 month ago (2015-10-30 03:31:40 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 1 month ago (2015-10-30 03:35:35 UTC) #7
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 03:37:04 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/07741f84211e9953e97904782561dbb2056cc569
Cr-Commit-Position: refs/heads/master@{#357040}

Powered by Google App Engine
This is Rietveld 408576698