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

Issue 671943003: Add update url controlled extension management settings (Closed)

Created:
6 years, 2 months ago by binjin
Modified:
6 years, 1 month ago
Reviewers:
Joao da Silva, Finnur
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, joaodasilva+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ext-5
Project:
chromium
Visibility:
Public.

Description

Add update url controlled extension management settings This CL adds per-update-url configurations to extension management policies. To address the problem that extension id and update URL in its manifest is not directly related, conflicting resolving behavior is define and implemented in a per-field terms for IndividualSettings in ExtensionManagement class. BUG=177351 Committed: https://crrev.com/685ade8a3f43717cb7f5b257324466abba3c34b5 Cr-Commit-Position: refs/heads/master@{#302999}

Patch Set 1 : WIP #

Patch Set 2 : rebase #

Patch Set 3 : WIP #

Patch Set 4 : add unit tests #

Total comments: 16

Patch Set 5 : fixes addressing #3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+327 lines, -121 lines) Patch
M chrome/browser/extensions/api/permissions/permissions_api.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/extension_management.h View 1 2 4 chunks +19 lines, -16 lines 0 comments Download
M chrome/browser/extensions/extension_management.cc View 1 2 3 4 7 chunks +93 lines, -41 lines 0 comments Download
M chrome/browser/extensions/extension_management_internal.h View 1 2 3 4 3 chunks +27 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_management_unittest.cc View 1 2 3 4 16 chunks +159 lines, -43 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/permissions_based_management_policy_provider.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/standard_management_policy_provider.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 4 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
binjin
Joao, Could you have a look at this CL? Some refactoring (eg. removing ReadByID) is ...
6 years, 1 month ago (2014-11-03 21:00:32 UTC) #2
Joao da Silva
https://codereview.chromium.org/671943003/diff/60001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc (right): https://codereview.chromium.org/671943003/diff/60001/chrome/browser/extensions/extension_management.cc#newcode27 chrome/browser/extensions/extension_management.cc:27: #include "extensions/common/manifest.h" Already in the header https://codereview.chromium.org/671943003/diff/60001/chrome/browser/extensions/extension_management.cc#newcode188 chrome/browser/extensions/extension_management.cc:188: APIPermissionSet ...
6 years, 1 month ago (2014-11-04 14:06:10 UTC) #3
binjin
https://codereview.chromium.org/671943003/diff/60001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc (right): https://codereview.chromium.org/671943003/diff/60001/chrome/browser/extensions/extension_management.cc#newcode27 chrome/browser/extensions/extension_management.cc:27: #include "extensions/common/manifest.h" On 2014/11/04 14:06:09, Joao da Silva wrote: ...
6 years, 1 month ago (2014-11-05 12:52:43 UTC) #4
Joao da Silva
lgtm
6 years, 1 month ago (2014-11-05 13:19:16 UTC) #5
binjin
Finnur. Could you please do an owner review for this CL? Thanks!
6 years, 1 month ago (2014-11-05 13:30:05 UTC) #7
Finnur
Rubberstamp LGTM
6 years, 1 month ago (2014-11-06 02:35:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/671943003/80001
6 years, 1 month ago (2014-11-06 09:10:02 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-11-06 09:54:04 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-06 09:54:45 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/685ade8a3f43717cb7f5b257324466abba3c34b5
Cr-Commit-Position: refs/heads/master@{#302999}

Powered by Google App Engine
This is Rietveld 408576698