| 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 extension APIs implemented under src/extensions. | 5 // This features file defines extension APIs implemented under src/extensions. |
| 6 // See extensions/common/features/* to understand this file, in particular | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 7 // 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 // Note that specifying "web_page", "blessed_web_page", or "all" as a context | 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context |
| 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. | 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. |
| 11 | 11 |
| 12 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | |
| 13 // | |
| 14 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | |
| 15 // sha1sum | tr '[:lower:]' '[:upper:]' | |
| 16 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | |
| 17 // | |
| 18 // Google employees: please update http://go/chrome-api-whitelist to map | |
| 19 // hashes back to ids. | |
| 20 | |
| 21 { | 12 { |
| 22 "alarms": { | 13 "alarms": { |
| 23 "dependencies": ["permission:alarms"], | 14 "dependencies": ["permission:alarms"], |
| 24 "contexts": ["blessed_extension"] | 15 "contexts": ["blessed_extension"] |
| 25 }, | 16 }, |
| 26 "app.runtime": [{ | 17 "app.runtime": [{ |
| 27 "channel": "stable", | 18 "channel": "stable", |
| 28 "contexts": ["blessed_extension"], | 19 "contexts": ["blessed_extension"], |
| 29 "extension_types": ["platform_app"], | 20 "extension_types": ["platform_app"], |
| 30 "noparent": true | 21 "noparent": true |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 }, { | 496 }, { |
| 506 "channel": "stable", | 497 "channel": "stable", |
| 507 "contexts": ["webui"], | 498 "contexts": ["webui"], |
| 508 "matches": [ | 499 "matches": [ |
| 509 "chrome://chrome-signin/*", | 500 "chrome://chrome-signin/*", |
| 510 "chrome://media-router/*", | 501 "chrome://media-router/*", |
| 511 "chrome://oobe/*" | 502 "chrome://oobe/*" |
| 512 ] | 503 ] |
| 513 }] | 504 }] |
| 514 } | 505 } |
| OLD | NEW |