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

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: . Created 9 years, 5 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 dcfbf30a1c43000d67d9c554fcce715b400d1824..5a5b5212094ad98f40ab7df5847004c6eeaaa5ee 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."
}
}
}

Powered by Google App Engine
This is Rietveld 408576698