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

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

Issue 469863002: Allow the Chrome Web Store to use chrome.system.* apis (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/resources/webstore_app/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/_permission_features.json
diff --git a/chrome/common/extensions/api/_permission_features.json b/chrome/common/extensions/api/_permission_features.json
index 140359c9c2ab06884340af30a53566f78a5a8c19..2981e8615a9abcca132e4cb78dbe2c17b5892a73 100644
--- a/chrome/common/extensions/api/_permission_features.json
+++ b/chrome/common/extensions/api/_permission_features.json
@@ -1007,26 +1007,61 @@
"34967F9FA3C399E1EC380B443D7331AA93AC445B" // http://crbug.com/400436
]
},
- "system.cpu": {
- "channel": "stable",
- "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
- },
- "system.memory": {
- "channel": "stable",
- "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
- },
- "system.network": {
- "channel": "stable",
- "extension_types": ["platform_app"]
- },
- "system.storage": {
- "channel": "stable",
- "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
- },
- "system.display": {
- "channel": "stable",
- "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
- },
+ "system.cpu": [
Yoyo Zhou 2014/08/13 20:24:09 I think it should be possible to make this less re
+ {
+ "channel": "stable",
+ "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
+ "system.memory": [
+ {
+ "channel": "stable",
+ "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
+ "system.network": [
+ {
+ "channel": "stable",
+ "extension_types": ["platform_app"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
+ "system.storage": [
+ {
+ "channel": "stable",
+ "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
+ "system.display": [
+ {
+ "channel": "stable",
+ "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
"systemPrivate": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
« no previous file with comments | « chrome/browser/resources/webstore_app/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698