| OLD | NEW |
| 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 // See c/c/e/features/* to understand this file, in particular feature.h, |
| 6 // simple_feature.h, and base_feature_provider.h. |
| 7 |
| 5 { | 8 { |
| 6 "app": { | 9 "app": { |
| 7 "channel": "stable", | 10 "channel": "stable", |
| 8 "extension_types": ["packaged_app", "hosted_app", "platform_app"] | 11 "extension_types": ["packaged_app", "hosted_app", "platform_app"] |
| 9 }, | 12 }, |
| 10 // The default platform app CSP can only be overridden by whitelisted apps. | 13 // The default platform app CSP can only be overridden by whitelisted apps. |
| 11 // This is a separate key from the top-level content_security_policy one since | 14 // This is a separate key from the top-level content_security_policy one since |
| 12 // we can't combine type restrictions with whitelisted ID restrictions. If | 15 // we can't combine type restrictions with whitelisted ID restrictions. If |
| 13 // there is a need for additional whitelisted entries, the feature system | 16 // there is a need for additional whitelisted entries, the feature system |
| 14 // should instead be extended to support OR-ing of restrictions. | 17 // should instead be extended to support OR-ing of restrictions. |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 "channel": "stable", | 339 "channel": "stable", |
| 337 "extension_types": "all" | 340 "extension_types": "all" |
| 338 }, | 341 }, |
| 339 "web_accessible_resources": { | 342 "web_accessible_resources": { |
| 340 "channel": "stable", | 343 "channel": "stable", |
| 341 "extension_types": [ | 344 "extension_types": [ |
| 342 "extension", "packaged_app", "hosted_app" | 345 "extension", "packaged_app", "hosted_app" |
| 343 ] | 346 ] |
| 344 } | 347 } |
| 345 } | 348 } |
| OLD | NEW |