| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 { |
| 6 "app": { |
| 7 "channel": "stable", |
| 8 "extension_types": ["packaged_app", "hosted_app", "platform_app"] |
| 9 }, |
| 10 // The default platform app CSP can only be overridden by whitelisted apps. |
| 11 // This is a separate key from the top-level content_security_policy one since |
| 12 // we can't combine type restrictions with whitelisted ID restrictions. If |
| 13 // there is a need for additional whitelisted entries, the feature system |
| 14 // should instead be extended to support OR-ing of restrictions. |
| 15 "app.content_security_policy": { |
| 16 "channel": "stable", |
| 17 "extension_types": ["platform_app"], |
| 18 "min_manifest_version": 2, |
| 19 "whitelist": [ |
| 20 "nckgahadagoaajjgafhacjanaoiihapd", // Google Talk prod |
| 21 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Google Talk beta |
| 22 "ppleadejekpmccmnpjdimmlfljlkdfej", // Google Talk alpha |
| 23 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Google Talk debug |
| 24 "lphgohfeebnhcpiohjndkgbhhkoapkjc" // Apps Debugger |
| 25 ] |
| 26 }, |
| 27 "app.background": { |
| 28 "channel": "stable", |
| 29 "extension_types": ["platform_app"], |
| 30 "min_manifest_version": 2 |
| 31 }, |
| 32 "app.launch": { |
| 33 "channel": "stable", |
| 34 "extension_types": ["packaged_app", "hosted_app"] |
| 35 }, |
| 36 "app.isolation": { |
| 37 "channel": "stable", |
| 38 // Platform apps always have isolated storage, thus they cannot specify it |
| 39 // via the manifest. |
| 40 "extension_types": ["packaged_app", "hosted_app"] |
| 41 }, |
| 42 "author": { |
| 43 "channel": "stable", |
| 44 "extension_types": "all" |
| 45 }, |
| 46 "background": { |
| 47 "channel": "stable", |
| 48 "extension_types": [ |
| 49 // Platform apps specify their background page via app.background. |
| 50 "extension", "packaged_app", "hosted_app" |
| 51 ] |
| 52 }, |
| 53 "background.persistent": { |
| 54 "channel": "stable", |
| 55 "extension_types": [ |
| 56 "extension", "packaged_app" |
| 57 ], |
| 58 "min_manifest_version": 2 |
| 59 }, |
| 60 "background_page": { |
| 61 "channel": "stable", |
| 62 "extension_types": [ |
| 63 "extension", "packaged_app", "hosted_app" |
| 64 ], |
| 65 "max_manifest_version": 1 |
| 66 }, |
| 67 "browser_action": { |
| 68 "channel": "stable", |
| 69 "extension_types": ["extension"] |
| 70 }, |
| 71 "chrome_url_overrides": { |
| 72 "channel": "stable", |
| 73 "extension_types": ["extension", "packaged_app"] |
| 74 }, |
| 75 "commands": { |
| 76 "channel": "stable", |
| 77 "extension_types": ["extension", "packaged_app", "platform_app"], |
| 78 "min_manifest_version": 2 |
| 79 }, |
| 80 "content_pack": { |
| 81 "channel": "dev", |
| 82 "extension_types": ["extension"] |
| 83 }, |
| 84 "content_security_policy": { |
| 85 "channel": "stable", |
| 86 // Platform apps have a restricted content security policy that cannot be |
| 87 // overriden (except for a whitelist of exceptions, see the |
| 88 // app.content_security_policy whitelist). |
| 89 "extension_types": ["extension", "packaged_app"] |
| 90 }, |
| 91 "content_scripts": { |
| 92 "channel": "stable", |
| 93 "extension_types": ["extension", "packaged_app"] |
| 94 }, |
| 95 "converted_from_user_script": { |
| 96 "channel": "stable", |
| 97 "extension_types": [ |
| 98 "extension", "packaged_app", "hosted_app" |
| 99 ], |
| 100 "no_doc": true |
| 101 }, |
| 102 "current_locale": { |
| 103 "channel": "stable", |
| 104 "extension_types": "all" |
| 105 }, |
| 106 "default_locale": { |
| 107 "channel": "stable", |
| 108 "extension_types": "all" |
| 109 }, |
| 110 "description": { |
| 111 "channel": "stable", |
| 112 "extension_types": "all" |
| 113 }, |
| 114 "devtools_page": { |
| 115 "channel": "stable", |
| 116 "extension_types": ["extension", "packaged_app"] |
| 117 }, |
| 118 "display_in_launcher": [ |
| 119 { |
| 120 "channel": "stable", |
| 121 "extension_types": ["packaged_app", "platform_app"], |
| 122 "location": "component" |
| 123 }, |
| 124 { |
| 125 "channel": "stable", |
| 126 "extension_types": ["packaged_app", "platform_app"], |
| 127 "whitelist": [ |
| 128 "nmmhkkegccagdldgiimedpiccmgmieda" |
| 129 ] |
| 130 } |
| 131 ], |
| 132 "display_in_new_tab_page": [ |
| 133 { |
| 134 "channel": "stable", |
| 135 "extension_types": ["packaged_app", "platform_app"], |
| 136 "location": "component" |
| 137 }, |
| 138 { |
| 139 "channel": "stable", |
| 140 "extension_types": ["packaged_app", "platform_app"], |
| 141 "whitelist": [ |
| 142 "nmmhkkegccagdldgiimedpiccmgmieda" |
| 143 ] |
| 144 } |
| 145 ], |
| 146 "file_browser_handlers": { |
| 147 "channel": "stable", |
| 148 "extension_types": ["extension", "packaged_app"] |
| 149 }, |
| 150 "file_handlers": { |
| 151 "channel": "stable", |
| 152 "extension_types": ["platform_app"] |
| 153 }, |
| 154 "homepage_url": { |
| 155 "channel": "stable", |
| 156 "extension_types": ["extension", "packaged_app"] |
| 157 }, |
| 158 "icons": { |
| 159 "channel": "stable", |
| 160 "extension_types": "all" |
| 161 }, |
| 162 "incognito": { |
| 163 "channel": "stable", |
| 164 "extension_types": ["extension", "packaged_app", "platform_app"] |
| 165 }, |
| 166 "input_components": { |
| 167 "channel": "stable", |
| 168 "extension_types": ["extension", "packaged_app"] |
| 169 }, |
| 170 "intents": { |
| 171 "channel": "stable", |
| 172 "extension_types": [ |
| 173 "extension", "packaged_app", "hosted_app", "platform_app" |
| 174 ] |
| 175 }, |
| 176 "key": { |
| 177 "channel": "stable", |
| 178 "extension_types": "all" |
| 179 }, |
| 180 "manifest_version": { |
| 181 "channel": "stable", |
| 182 "extension_types": "all" |
| 183 }, |
| 184 "minimum_chrome_version": { |
| 185 "channel": "stable", |
| 186 "extension_types": [ |
| 187 "extension", "packaged_app", "hosted_app", "platform_app" |
| 188 ] |
| 189 }, |
| 190 "nacl_modules": { |
| 191 "channel": "stable", |
| 192 "extension_types": [ |
| 193 "extension", "packaged_app", "hosted_app", "platform_app" |
| 194 ] |
| 195 }, |
| 196 "name": { |
| 197 "channel": "stable", |
| 198 "extension_types": "all" |
| 199 }, |
| 200 "offline_enabled": { |
| 201 "channel": "stable", |
| 202 "extension_types": [ |
| 203 "extension", "packaged_app", "hosted_app", "platform_app" |
| 204 ] |
| 205 }, |
| 206 "omnibox": { |
| 207 "channel": "stable", |
| 208 "extension_types": ["extension", "packaged_app"] |
| 209 }, |
| 210 "optional_permissions": { |
| 211 "channel": "stable", |
| 212 "extension_types": [ |
| 213 "extension", "packaged_app", "hosted_app", "platform_app" |
| 214 ] |
| 215 }, |
| 216 "options_page": { |
| 217 "channel": "stable", |
| 218 "extension_types": [ |
| 219 "extension", "packaged_app", "hosted_app", "platform_app" |
| 220 ] |
| 221 }, |
| 222 "oauth2": { |
| 223 "channel": "stable", |
| 224 "extension_types": [ |
| 225 "extension", "packaged_app", "platform_app" |
| 226 ] |
| 227 }, |
| 228 "page_action": { |
| 229 "channel": "stable", |
| 230 "extension_types": ["extension"] |
| 231 }, |
| 232 "page_actions": { |
| 233 "channel": "stable", |
| 234 "extension_types": ["extension"], |
| 235 "max_manifest_version": 1 |
| 236 }, |
| 237 "permissions": { |
| 238 "channel": "stable", |
| 239 "extension_types": [ |
| 240 "extension", "packaged_app", "hosted_app", "platform_app" |
| 241 ] |
| 242 }, |
| 243 "plugins": { |
| 244 "channel": "stable", |
| 245 "extension_types": ["extension", "packaged_app", "hosted_app"] |
| 246 }, |
| 247 "requirements": { |
| 248 "channel": "stable", |
| 249 "extension_types": [ |
| 250 "extension", "packaged_app", "hosted_app", "platform_app" |
| 251 ] |
| 252 }, |
| 253 "sandbox": { |
| 254 "channel": "stable", |
| 255 "extension_types": [ |
| 256 "extension", "platform_app", "packaged_app" |
| 257 ], |
| 258 "min_manifest_version": 2 |
| 259 }, |
| 260 "script_badge": { |
| 261 "channel": "trunk", |
| 262 "extension_types": ["extension"] |
| 263 }, |
| 264 "signature": { |
| 265 "channel": "stable", |
| 266 "extension_types": "all" |
| 267 }, |
| 268 "system_indicator": { |
| 269 "channel": "dev", |
| 270 "extension_types": ["extension", "packaged_app", "platform_app"] |
| 271 }, |
| 272 "theme": { |
| 273 "channel": "stable", |
| 274 "extension_types": ["theme"] |
| 275 }, |
| 276 "tts_engine": { |
| 277 "channel": "stable", |
| 278 "extension_types": ["extension", "packaged_app"] |
| 279 }, |
| 280 "update_url": { |
| 281 "channel": "stable", |
| 282 "extension_types": "all" |
| 283 }, |
| 284 "version": { |
| 285 "channel": "stable", |
| 286 "extension_types": "all" |
| 287 }, |
| 288 "web_accessible_resources": { |
| 289 "channel": "stable", |
| 290 "extension_types": [ |
| 291 "extension", "packaged_app", "hosted_app" |
| 292 ] |
| 293 } |
| 294 } |
| OLD | NEW |