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

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

Issue 116093007: Document that all-hosts works as an optional permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ben's review Created 7 years 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/intros/permissions.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/permissions.json
diff --git a/chrome/common/extensions/api/permissions.json b/chrome/common/extensions/api/permissions.json
index 3ce74b43352e8ae48ef9225c180c021ff9ea842a..63bf4346cd5a5dfa505f000424fc23a71532005e 100644
--- a/chrome/common/extensions/api/permissions.json
+++ b/chrome/common/extensions/api/permissions.json
@@ -15,13 +15,13 @@
"type": "array",
"items": {"type": "string"},
"optional": true,
- "description": "List of named permissions (does not include hosts or origins)."
+ "description": "List of named permissions (does not include hosts or origins). Anything listed here must appear in the <code>optional_permissions</code> list in the manifest."
},
"origins": {
"type": "array",
"items": {"type": "string"},
"optional": true,
- "description": "List of origin permissions."
+ "description": "List of origin permissions. Anything listed here must be a subset of a host that appears in the <code>optional_permissions</code> list in the manifest. For example, if <code>http://*.example.com/</code> or <code>http://*/</code> appears in <code>optional_permissions</code>, you can request an origin of <code>http://help.example.com/</code>. Any path is ignored."
}
}
}
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/intros/permissions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698