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 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 // 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. |
(...skipping 21 matching lines...) Expand all Loading... |
32 }, | 32 }, |
33 "storage": { | 33 "storage": { |
34 "dependencies": ["permission:storage"], | 34 "dependencies": ["permission:storage"], |
35 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 35 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
36 }, | 36 }, |
37 "test": { | 37 "test": { |
38 "internal": true, | 38 "internal": true, |
39 "channel": "stable", | 39 "channel": "stable", |
40 "extension_types": "all", | 40 "extension_types": "all", |
41 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 41 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| 42 }, |
| 43 "usb": { |
| 44 "dependencies": ["permission:usb"], |
| 45 "contexts": ["blessed_extension"] |
42 } | 46 } |
43 } | 47 } |
OLD | NEW |