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

Unified Diff: chrome/test/data/policy/policy_test_cases.json

Issue 595363002: Add policy controlled permission block list for extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ext-fix
Patch Set: fix memory leaks Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/policy/policy_test_cases.json
diff --git a/chrome/test/data/policy/policy_test_cases.json b/chrome/test/data/policy/policy_test_cases.json
index 3ad037d421ffe29a4f5409f34fe3ea510cccb64d..433468d839d4ad104fff1952f0a383d88ed2ca5b 100644
--- a/chrome/test/data/policy/policy_test_cases.json
+++ b/chrome/test/data/policy/policy_test_cases.json
@@ -704,14 +704,17 @@
"test_policy": {
"ExtensionSettings": {
"abcdefghijklmnopabcdefghijklmnop" : {
- "installation_mode": "allowed"
+ "installation_mode": "allowed",
+ "blocked_permissions": ["history"]
},
"bcdefghijklmnopabcdefghijklmnopa" : {
"installation_mode": "force_installed",
- "update_url": "http://example.com/update_url"
+ "update_url": "http://example.com/update_url",
+ "allowed_permissions": ["downloads"]
},
"*": {
"installation_mode": "blocked",
+ "blocked_permissions": ["downloads", "bookmarks"],
"install_sources": ["http://company-intranet/chromeapps"],
"allowed_types": ["hosted_app"]
}
« no previous file with comments | « chrome/test/data/extensions/permissions_blocklist2/manifest.json ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698