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

Issue 2592613003: Remove networking API permissions depdendency on behavior feature (Closed)

Created:
4 years ago by tbarzic
Modified:
4 years ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove networking API permissions depdendency on behavior feature Docs server does not handle API dependency on behavior features, so having networkingPrivate and networking.onc depend on a behavior feature to provide white list breaks docserver preview.py. To avoid the issue, replicate whitelists in _permission_features file for each of the permissions. BUG=676105, 672186 Committed: https://crrev.com/c1e3e116e8b8b3fd88eade4dae3521354ff8efd1 Cr-Commit-Position: refs/heads/master@{#440164}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove behavior feature too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -45 lines) Patch
M extensions/common/api/_behavior_features.json View 1 1 chunk +1 line, -36 lines 0 comments Download
M extensions/common/api/_permission_features.json View 1 1 chunk +66 lines, -4 lines 0 comments Download
M extensions/common/extension_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/features/behavior_feature.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M extensions/common/features/behavior_feature.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
tbarzic
Note that I'm considering using the whitelisted_for_networking_onc_api behavior feature soon (to check API availability for ...
4 years ago (2016-12-20 23:29:02 UTC) #2
Devlin
On 2016/12/20 23:29:02, tbarzic wrote: > Note that I'm considering using the whitelisted_for_networking_onc_api behavior > ...
4 years ago (2016-12-21 02:47:25 UTC) #3
tbarzic
Removed the behavior feature, too. https://codereview.chromium.org/2592613003/diff/1/extensions/common/api/_permission_features.json File extensions/common/api/_permission_features.json (right): https://codereview.chromium.org/2592613003/diff/1/extensions/common/api/_permission_features.json#newcode349 extensions/common/api/_permission_features.json:349: "whitelist": [ On 2016/12/21 ...
4 years ago (2016-12-21 04:05:30 UTC) #4
Devlin
lgtm
4 years ago (2016-12-21 15:36:44 UTC) #5
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/2592613003/20001
4 years ago (2016-12-21 17:39:58 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-21 18:41:33 UTC) #10
commit-bot: I haz the power
4 years ago (2016-12-21 18:44:44 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c1e3e116e8b8b3fd88eade4dae3521354ff8efd1
Cr-Commit-Position: refs/heads/master@{#440164}

Powered by Google App Engine
This is Rietveld 408576698