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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 7508029: Add origin permissions to the extension permissions API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix dcheck Created 9 years, 4 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/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 03411010dab3f98625350f7305b7484ae64f86a6..f3e8dc966d0b82f234abd37cedc7afe82f696e00 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -1071,6 +1071,12 @@
"items": {"type": "string"},
"optional": true,
"description": "List of named permissions (does not include hosts or origins)."
+ },
+ "origins": {
+ "type": "array",
+ "items": {"type": "string"},
+ "optional": true,
+ "description": "List of origin permissions."
}
}
}
« no previous file with comments | « chrome/browser/extensions/permissions_apitest.cc ('k') | chrome/common/extensions/docs/experimental.permissions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698