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": { |
| 20 "channel": "dev", |
| 21 "extension_types": ["shared_module"] |
| 22 }, |
19 "app": { | 23 "app": { |
20 "channel": "stable", | 24 "channel": "stable", |
21 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] | 25 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] |
22 }, | 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 }, |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 }, | 296 }, |
293 "optional_permissions": { | 297 "optional_permissions": { |
294 "channel": "stable", | 298 "channel": "stable", |
295 "extension_types": [ | 299 "extension_types": [ |
296 "extension", "legacy_packaged_app", "hosted_app", "platform_app" | 300 "extension", "legacy_packaged_app", "hosted_app", "platform_app" |
297 ] | 301 ] |
298 }, | 302 }, |
299 "options_page": { | 303 "options_page": { |
300 "channel": "stable", | 304 "channel": "stable", |
301 "extension_types": [ | 305 "extension_types": [ |
302 "extension", "legacy_packaged_app", "hosted_app", "shared_module" | 306 "extension", "legacy_packaged_app", "hosted_app" |
303 ] | 307 ] |
304 }, | 308 }, |
305 "page_action": { | 309 "page_action": { |
306 "channel": "stable", | 310 "channel": "stable", |
307 "extension_types": ["extension"] | 311 "extension_types": ["extension"] |
308 }, | 312 }, |
309 "page_actions": { | 313 "page_actions": { |
310 "channel": "stable", | 314 "channel": "stable", |
311 "extension_types": ["extension"], | 315 "extension_types": ["extension"], |
312 "max_manifest_version": 1 | 316 "max_manifest_version": 1 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 }, | 389 }, |
386 "url_handlers": { | 390 "url_handlers": { |
387 "channel": "stable", | 391 "channel": "stable", |
388 "extension_types": ["platform_app"] | 392 "extension_types": ["platform_app"] |
389 }, | 393 }, |
390 "version": { | 394 "version": { |
391 "channel": "stable", | 395 "channel": "stable", |
392 "extension_types": "all" | 396 "extension_types": "all" |
393 } | 397 } |
394 } | 398 } |
OLD | NEW |