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

Side by Side Diff: chrome/common/extensions/api/_manifest_features.json

Issue 1158693006: Create a mechanism define declarative rules via the extension manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prevent removal of rules set in manifest. Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This features file defines manifest keys implemented under src/chrome. 5 // This features file defines manifest keys implemented under src/chrome.
6 // See extensions/common/features/* to understand this file, in particular 6 // See extensions/common/features/* to understand this file, in particular
7 // feature.h, simple_feature.h, and base_feature_provider.h. 7 // feature.h, simple_feature.h, and base_feature_provider.h.
8 8
9 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: 9 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
10 // 10 //
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 "channel": "stable", 89 "channel": "stable",
90 "extension_types": ["extension", "legacy_packaged_app"] 90 "extension_types": ["extension", "legacy_packaged_app"]
91 }, 91 },
92 "converted_from_user_script": { 92 "converted_from_user_script": {
93 "channel": "stable", 93 "channel": "stable",
94 "extension_types": [ 94 "extension_types": [
95 "extension", "legacy_packaged_app", "hosted_app" 95 "extension", "legacy_packaged_app", "hosted_app"
96 ], 96 ],
97 "no_doc": true 97 "no_doc": true
98 }, 98 },
99 "event_rules": {
100 "channel": "stable",
not at google - send to devlin 2015/06/04 17:58:48 Note to readers (no action needed): I don't think
danduong 2015/06/04 19:56:07 Acknowledged.
101 "extension_types": "all"
not at google - send to devlin 2015/06/04 17:58:48 "all" is scary, but the right thing in this case.
danduong 2015/06/04 19:10:58 Done.
102 },
99 "devtools_page": { 103 "devtools_page": {
100 "channel": "stable", 104 "channel": "stable",
101 "extension_types": ["extension", "legacy_packaged_app"] 105 "extension_types": ["extension", "legacy_packaged_app"]
102 }, 106 },
103 "display_in_launcher": [ 107 "display_in_launcher": [
104 { 108 {
105 "channel": "stable", 109 "channel": "stable",
106 "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"], 110 "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"],
107 "location": "component" 111 "location": "component"
108 }, 112 },
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 }, 264 },
261 "update_url": { 265 "update_url": {
262 "channel": "stable", 266 "channel": "stable",
263 "extension_types": "all" 267 "extension_types": "all"
264 }, 268 },
265 "url_handlers": { 269 "url_handlers": {
266 "channel": "stable", 270 "channel": "stable",
267 "extension_types": ["platform_app"] 271 "extension_types": ["platform_app"]
268 } 272 }
269 } 273 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698