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 // See c/c/e/features/* to understand this file, in particular feature.h, |
| 6 // simple_feature.h, and base_feature_provider.h. |
| 7 |
5 { | 8 { |
6 "app": { | 9 "app": { |
7 "channel": "stable", | 10 "channel": "stable", |
8 "extension_types": ["hosted_app", "extension", "packaged_app"], | 11 "extension_types": ["hosted_app", "extension", "packaged_app"], |
9 "contexts": [ | 12 "contexts": [ |
10 "blessed_extension", "unblessed_extension", "content_script", "web_page" | 13 "blessed_extension", "unblessed_extension", "content_script", "web_page" |
11 ], | 14 ], |
12 "matches": [ | 15 "matches": [ |
13 "http://*/*", "https://*/*", "chrome-extension://*/*", "file://*/*" | 16 "http://*/*", "https://*/*", "chrome-extension://*/*", "file://*/*" |
14 ] | 17 ] |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 67 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
65 }, | 68 }, |
66 "runtime": { | 69 "runtime": { |
67 "channel": "stable", | 70 "channel": "stable", |
68 "extension_types": ["extension", "packaged_app", "platform_app"], | 71 "extension_types": ["extension", "packaged_app", "platform_app"], |
69 "contexts": ["blessed_extension"] | 72 "contexts": ["blessed_extension"] |
70 }, | 73 }, |
71 "runtime.connect": { | 74 "runtime.connect": { |
72 "channel": "stable", | 75 "channel": "stable", |
73 "extension_types": ["extension", "packaged_app", "platform_app"], | 76 "extension_types": ["extension", "packaged_app", "platform_app"], |
74 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 77 "contexts": "all", |
| 78 "matches": ["<all_urls>"] |
75 }, | 79 }, |
76 "runtime.getManifest": { | 80 "runtime.getManifest": { |
77 "channel": "stable", | 81 "channel": "stable", |
78 "extension_types": ["extension", "packaged_app", "platform_app"], | 82 "extension_types": ["extension", "packaged_app", "platform_app"], |
79 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 83 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
80 }, | 84 }, |
81 "runtime.getURL": { | 85 "runtime.getURL": { |
82 "channel": "stable", | 86 "channel": "stable", |
83 "extension_types": ["extension", "packaged_app", "platform_app"], | 87 "extension_types": ["extension", "packaged_app", "platform_app"], |
84 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 88 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
(...skipping 24 matching lines...) Expand all Loading... |
109 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 113 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
110 }, | 114 }, |
111 "runtime.requestUpdateCheck": { | 115 "runtime.requestUpdateCheck": { |
112 "channel": "stable", | 116 "channel": "stable", |
113 "extension_types": ["extension", "packaged_app", "platform_app"], | 117 "extension_types": ["extension", "packaged_app", "platform_app"], |
114 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 118 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
115 }, | 119 }, |
116 "runtime.sendMessage": { | 120 "runtime.sendMessage": { |
117 "channel": "stable", | 121 "channel": "stable", |
118 "extension_types": ["extension", "packaged_app", "platform_app"], | 122 "extension_types": ["extension", "packaged_app", "platform_app"], |
119 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 123 "contexts": "all", |
| 124 "matches": ["<all_urls>"] |
120 }, | 125 }, |
121 "runtime.setUninstallUrl": { | 126 "runtime.setUninstallUrl": { |
122 "channel": "dev", | 127 "channel": "dev", |
123 "extension_types": ["extension", "packaged_app", "platform_app"], | 128 "extension_types": ["extension", "packaged_app", "platform_app"], |
124 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 129 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
125 }, | 130 }, |
126 "webRequestInternal": { | 131 "webRequestInternal": { |
127 "internal": true, | 132 "internal": true, |
128 "channel": "stable", | 133 "channel": "stable", |
129 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 134 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
130 }, | 135 }, |
131 "webstore": { | 136 "webstore": { |
132 // Hosted apps can use the webstore API from within a blessed context. | 137 // Hosted apps can use the webstore API from within a blessed context. |
133 "channel": "stable", | 138 "channel": "stable", |
134 "extension_types": ["hosted_app"], | 139 "extension_types": ["hosted_app"], |
135 "contexts": ["blessed_extension", "web_page"], | 140 "contexts": ["blessed_extension", "web_page"], |
136 // Any webpage can use the webstore API. | 141 // Any webpage can use the webstore API. |
137 "matches": ["http://*/*", "https://*/*"] | 142 "matches": ["http://*/*", "https://*/*"] |
138 } | 143 } |
139 } | 144 } |
OLD | NEW |