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
3 // found in the LICENSE file.
5 // See c/c/e/features/* to understand this file, in particular feature.h,
6 // simple_feature.h, and base_feature_provider.h.
11 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
13 // The default platform app CSP can only be overridden by whitelisted apps.
14 // This is a separate key from the top-level content_security_policy one since
15 // we can't combine type restrictions with whitelisted ID restrictions. If
16 // there is a need for additional whitelisted entries, the feature system
17 // should instead be extended to support OR-ing of restrictions.
18 "app.content_security_policy": {
20 "extension_types": ["platform_app"],
21 "min_manifest_version": 2,
23 "nckgahadagoaajjgafhacjanaoiihapd", // Google Talk prod
24 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Google Talk beta
25 "ppleadejekpmccmnpjdimmlfljlkdfej", // Google Talk alpha
26 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Google Talk debug
27 "lphgohfeebnhcpiohjndkgbhhkoapkjc" // Apps Debugger
32 "extension_types": ["platform_app"],
33 "min_manifest_version": 2
37 // Platform apps always have isolated storage, thus they cannot specify it
39 "extension_types": ["legacy_packaged_app", "hosted_app"]
43 "extension_types": ["legacy_packaged_app", "hosted_app"]
45 "app.service_worker": {
46 "channel": "trunk", // When changing update tests: http://crbug.com/353209
47 "extension_types": ["platform_app"]
51 "extension_types": "all"
56 // Platform apps specify their background page via app.background.
57 "extension", "legacy_packaged_app", "hosted_app"
60 "background.persistent": {
63 "extension", "legacy_packaged_app"
65 "min_manifest_version": 2
70 "extension", "legacy_packaged_app", "hosted_app"
72 "max_manifest_version": 1
76 "extension_types": ["platform_app"]
80 "extension_types": ["extension"]
82 "chrome_settings_overrides": [{
84 "extension_types": ["extension"],
86 }, { // TODO(wittman): remove this section for M37.
88 "extension_types": ["extension"],
90 "CB2E4E7174A398FCB3AFA6840500C2E1D22DA7B2", // Bookmark Manager
91 "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900
92 "D57DE394F36DC1C3220E7604C575D29C51A6C495" // http://crbug.com/319444
95 "chrome_ui_overrides": [{
97 "extension_types": ["extension"]
100 "extension_types": ["extension"],
102 "CB2E4E7174A398FCB3AFA6840500C2E1D22DA7B2", // Bookmark Manager
103 "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900
104 "D57DE394F36DC1C3220E7604C575D29C51A6C495" // http://crbug.com/319444
107 "chrome_url_overrides": {
109 "extension_types": ["extension", "legacy_packaged_app"]
114 "extension_types": ["platform_app"],
115 "min_manifest_version": 2
118 "extension_types": ["extension"],
119 "min_manifest_version": 2
125 "extension_types": ["extension", "platform_app"],
126 "min_manifest_version": 2
131 "extension_types": ["extension"]
133 "content_security_policy": {
135 // Platform apps have a restricted content security policy that cannot be
136 // overriden (except for a whitelist of exceptions, see the
137 // app.content_security_policy whitelist).
138 "extension_types": ["extension", "legacy_packaged_app"]
142 "extension_types": ["extension", "legacy_packaged_app"]
144 "converted_from_user_script": {
147 "extension", "legacy_packaged_app", "hosted_app"
153 "extension_types": "all"
157 "extension_types": "all"
161 "extension_types": "all"
165 "extension_types": ["extension", "legacy_packaged_app"]
167 "display_in_launcher": [
170 "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"],
171 "location": "component"
175 "extension_types": ["legacy_packaged_app", "platform_app"],
177 "nmmhkkegccagdldgiimedpiccmgmieda"
181 "display_in_new_tab_page": [
184 "extension_types": ["legacy_packaged_app", "platform_app", "hosted_app"],
185 "location": "component"
189 "extension_types": ["legacy_packaged_app", "platform_app"],
191 "nmmhkkegccagdldgiimedpiccmgmieda"
198 "extension_types": ["shared_module"],
200 "6EAED1924DB611B6EEF2A664BD077BE7EAD33B8F",
201 "4EB74897CB187C7633357C2FE832E0AD6A44883A",
202 // Next four: http://crbug.com/357213
203 "mafeflapfdfljijmlienjedomfjfmhpd",
204 "ajchadodoajkaojdidnbblnfcdipbple",
205 "47F838F58D2A3B585DE50F29E3585D94999921D1",
206 "8EBAFB8DEB647EA2FC887A5E01EBD9BDC0FDC536"
211 "extension_types": ["shared_module"]
214 "externally_connectable": {
217 "extension", "hosted_app", "legacy_packaged_app", "platform_app"
220 "file_browser_handlers": [
223 "extension_types": ["extension", "legacy_packaged_app"]
227 "extension_types": ["platform_app"],
228 "location": "component"
233 "extension_types": ["platform_app"]
237 "extension_types": ["extension", "legacy_packaged_app"]
241 "extension_types": "all"
245 "extension_types": "all"
250 "extension_types": ["extension", "legacy_packaged_app"]
254 "extension_types": ["platform_app"],
255 "location": "component"
258 "input_components": {
260 "extension_types": ["extension", "legacy_packaged_app"]
264 "extension_types": "all"
278 "manifest_version": {
280 "extension_types": "all"
282 "media_galleries_handlers": {
284 "extension_types": ["platform_app"]
288 "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ],
290 "oickdpebdnfbgkcaoklfcdhjniefkcji", // browser_tests
291 "gbkeegbaiigmenfmjfclcdgdpimamgkj", // QuickOffice
292 "ionpfmkccalenbmnddpbmocokhaknphg", // QuickOffice Dev
293 "bpmcpldpdmajfigpchkicefoigmkfalc", // Quickoffice component extension
294 "ehibbfinohgbchlgdbfpikodjaojhccn", // Editor
295 "mhjfbmdgcfjbbpaeojofohoefgiehjai" // PDF
298 "minimum_chrome_version": {
301 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
307 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
312 "extension_types": "all"
317 "extension", "legacy_packaged_app", "platform_app"
320 "oauth2.auto_approve": {
323 "extension", "platform_app"
326 "mdbihdcgjmagbcapkhhkjbbdlkflmbfo", // unit_tests
327 "pafkbggdmjlpgkdkcbjmhmfcdpncadgh", // Google Now
328 "nmmhkkegccagdldgiimedpiccmgmieda", // In-app payments support app.
329 "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C",
330 "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA",
331 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", // TODO(rockot): Kill these.
332 "E61F841D8210B6A9891E5384CB665FBED31FCD7B" // http://crbug.com/281715
338 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
343 "extension_types": ["extension", "legacy_packaged_app"]
345 "optional_permissions": {
348 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
354 "extension", "legacy_packaged_app", "hosted_app"
359 "extension_types": ["extension"]
363 "extension_types": ["extension"],
364 "max_manifest_version": 1
369 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
374 "extension_types": "all"
378 "extension_types": ["extension", "legacy_packaged_app", "hosted_app"]
383 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
389 "extension", "platform_app", "legacy_packaged_app"
391 "min_manifest_version": 2
395 "extension_types": ["extension"]
399 "extension_types": "all"
403 "extension_types": "all"
407 "extension_types": ["platform_app"]
411 "extension_types": ["extension"]
415 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
416 "min_manifest_version": 2
418 "system_indicator": {
420 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
424 "extension_types": ["theme"]
428 "extension_types": ["extension", "legacy_packaged_app"]
432 "extension_types": "all"
436 "extension_types": ["platform_app"]
440 "extension_types": "all"
442 "web_accessible_resources": [
446 "extension", "legacy_packaged_app", "hosted_app"
451 "extension_types": ["platform_app"],
452 "location": "component"
457 "extension_types": ["platform_app"],
458 "min_manifest_version": 2