| 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 permissions for extension APIs implemented | 5 // This features file defines permissions for extension APIs implemented |
| 6 // under src/extensions. | 6 // under src/extensions. |
| 7 | 7 |
| 8 // See extensions/common/features/* to understand this file, in particular | 8 // See extensions/common/features/* to understand this file, in particular |
| 9 // feature.h, simple_feature.h, and base_feature_provider.h. | 9 // feature.h, simple_feature.h, and base_feature_provider.h. |
| 10 | 10 |
| 11 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | 11 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: |
| 12 // | 12 // |
| 13 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | 13 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ |
| 14 // sha1sum | tr '[:lower:]' '[:upper:]' | 14 // sha1sum | tr '[:lower:]' '[:upper:]' |
| 15 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | 15 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - |
| 16 // | 16 // |
| 17 // Google employees: please update http://go/chrome-api-whitelist to map | 17 // Google employees: please update http://go/chrome-api-whitelist to map |
| 18 // hashes back to ids. | 18 // hashes back to ids. |
| 19 | 19 |
| 20 // If you add a new platform_app permission please update the "stubs_app" test: | 20 // If you add a new platform_app permission please update the "stubs_app" test: |
| 21 // chrome/test/data/extensions/api_test/stubs_app/manifest.json | 21 // chrome/test/data/extensions/api_test/stubs_app/manifest.json |
| 22 | 22 |
| 23 { | 23 { |
| 24 "alarms": { |
| 25 "channel": "stable", |
| 26 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| 27 "min_manifest_version": 2 |
| 28 }, |
| 24 "app.window.alwaysOnTop": { | 29 "app.window.alwaysOnTop": { |
| 25 "channel": "stable", | 30 "channel": "stable", |
| 26 "extension_types": ["platform_app"] | 31 "extension_types": ["platform_app"] |
| 27 }, | 32 }, |
| 28 "app.window.fullscreen": { | 33 "app.window.fullscreen": { |
| 29 "channel": "stable", | 34 "channel": "stable", |
| 30 "extension_types": ["platform_app"] | 35 "extension_types": ["platform_app"] |
| 31 }, | 36 }, |
| 32 "app.window.fullscreen.overrideEsc": { | 37 "app.window.fullscreen.overrideEsc": { |
| 33 "channel": "stable", | 38 "channel": "stable", |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 }, | 361 }, |
| 357 "webRequest": { | 362 "webRequest": { |
| 358 "channel": "stable", | 363 "channel": "stable", |
| 359 "extension_types": ["extension", "legacy_packaged_app"] | 364 "extension_types": ["extension", "legacy_packaged_app"] |
| 360 }, | 365 }, |
| 361 "webRequestBlocking": { | 366 "webRequestBlocking": { |
| 362 "channel": "stable", | 367 "channel": "stable", |
| 363 "extension_types": ["extension", "legacy_packaged_app"] | 368 "extension_types": ["extension", "legacy_packaged_app"] |
| 364 } | 369 } |
| 365 } | 370 } |
| OLD | NEW |