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 28 matching lines...) Expand all Loading... |
39 }, | 39 }, |
40 "storage": { | 40 "storage": { |
41 "dependencies": ["permission:storage"], | 41 "dependencies": ["permission:storage"], |
42 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 42 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
43 }, | 43 }, |
44 "test": { | 44 "test": { |
45 "internal": true, | 45 "internal": true, |
46 "channel": "stable", | 46 "channel": "stable", |
47 "extension_types": "all", | 47 "extension_types": "all", |
48 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 48 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| 49 }, |
| 50 "usb": { |
| 51 "dependencies": ["permission:usb"], |
| 52 "contexts": ["blessed_extension"] |
49 } | 53 } |
50 } | 54 } |
OLD | NEW |