| 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 // 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 // |
| 11 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | 11 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ |
| 12 // sha1sum | tr '[:lower:]' '[:upper:]' | 12 // sha1sum | tr '[:lower:]' '[:upper:]' |
| 13 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | 13 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - |
| 14 // | 14 // |
| 15 // Google employees: please update http://go/chrome-api-whitelist to map | 15 // Google employees: please update http://go/chrome-api-whitelist to map |
| 16 // hashes back to ids. | 16 // hashes back to ids. |
| 17 | 17 |
| 18 { | 18 { |
| 19 "about_page": { | 19 "about_page": { |
| 20 "channel": "stable", | 20 "channel": "stable", |
| 21 "extension_types": ["shared_module"] | 21 "extension_types": ["shared_module"] |
| 22 }, | 22 }, |
| 23 "app.icon_color": { |
| 24 "channel": "stable", |
| 25 "extension_types": ["hosted_app"] |
| 26 }, |
| 23 "app.isolation": { | 27 "app.isolation": { |
| 24 "channel": "stable", | 28 "channel": "stable", |
| 25 // Platform apps always have isolated storage, thus they cannot specify it | 29 // Platform apps always have isolated storage, thus they cannot specify it |
| 26 // via the manifest. | 30 // via the manifest. |
| 27 "extension_types": ["legacy_packaged_app", "hosted_app"] | 31 "extension_types": ["legacy_packaged_app", "hosted_app"] |
| 28 }, | 32 }, |
| 29 "app.launch": { | 33 "app.launch": { |
| 30 "channel": "stable", | 34 "channel": "stable", |
| 31 "extension_types": ["legacy_packaged_app", "hosted_app"] | 35 "extension_types": ["legacy_packaged_app", "hosted_app"] |
| 32 }, | 36 }, |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 }, | 287 }, |
| 284 "update_url": { | 288 "update_url": { |
| 285 "channel": "stable", | 289 "channel": "stable", |
| 286 "extension_types": "all" | 290 "extension_types": "all" |
| 287 }, | 291 }, |
| 288 "url_handlers": { | 292 "url_handlers": { |
| 289 "channel": "stable", | 293 "channel": "stable", |
| 290 "extension_types": ["platform_app"] | 294 "extension_types": ["platform_app"] |
| 291 } | 295 } |
| 292 } | 296 } |
| OLD | NEW |