| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/extensions. | 5 // This features file defines manifest keys implemented under src/extensions. |
| 6 // See chrome/common/extensions/api/_features.md to understand this file, as | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 7 // well as feature.h, simple_feature.h, and base_feature_provider.h. | 7 // well as feature.h, simple_feature.h, and base_feature_provider.h. |
| 8 | 8 |
| 9 { | 9 { |
| 10 "action_handlers": { |
| 11 "channel": "stable", |
| 12 "extension_types": ["platform_app"], |
| 13 "platforms": ["chromeos"] |
| 14 }, |
| 10 "app": { | 15 "app": { |
| 11 "channel": "stable", | 16 "channel": "stable", |
| 12 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] | 17 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] |
| 13 }, | 18 }, |
| 14 // The default platform app CSP can only be overridden by whitelisted apps. | 19 // The default platform app CSP can only be overridden by whitelisted apps. |
| 15 // This is a separate key from the top-level content_security_policy one since | 20 // This is a separate key from the top-level content_security_policy one since |
| 16 // we can't combine type restrictions with whitelisted ID restrictions. If | 21 // we can't combine type restrictions with whitelisted ID restrictions. If |
| 17 // there is a need for additional whitelisted entries, the feature system | 22 // there is a need for additional whitelisted entries, the feature system |
| 18 // should instead be extended to support OR-ing of restrictions. | 23 // should instead be extended to support OR-ing of restrictions. |
| 19 "app.content_security_policy": { | 24 "app.content_security_policy": { |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 "extension_types": ["platform_app"], | 331 "extension_types": ["platform_app"], |
| 327 "location": "component" | 332 "location": "component" |
| 328 } | 333 } |
| 329 ], | 334 ], |
| 330 "webview": { | 335 "webview": { |
| 331 "channel": "stable", | 336 "channel": "stable", |
| 332 "extension_types": ["platform_app"], | 337 "extension_types": ["platform_app"], |
| 333 "min_manifest_version": 2 | 338 "min_manifest_version": 2 |
| 334 } | 339 } |
| 335 } | 340 } |
| OLD | NEW |