OLD | NEW |
---|---|
1 # Extension Features Files | 1 # Extension Features Files |
2 | 2 |
3 [TOC] | 3 [TOC] |
4 | 4 |
5 ## Summary | 5 ## Summary |
6 | 6 |
7 The Extension features files specify the different requirements for extension | 7 The Extension features files specify the different requirements for extension |
8 feature availability. | 8 feature availability. |
9 | 9 |
10 An **extension feature** can be any component of extension capabilities. Most | 10 An **extension feature** can be any component of extension capabilities. Most |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
302 ### session\_types | 302 ### session\_types |
303 | 303 |
304 The `session_types` property specifies in which types of sessions a feature | 304 The `session_types` property specifies in which types of sessions a feature |
305 should be available. The session type describes the type of user that is | 305 should be available. The session type describes the type of user that is |
306 logged in the current session. Session types to which feature can be restricted | 306 logged in the current session. Session types to which feature can be restricted |
307 are only supported on Chrome OS - features restricted to set of session types | 307 are only supported on Chrome OS - features restricted to set of session types |
308 will be disabled on other platforms. Also, note that all currently supported | 308 will be disabled on other platforms. Also, note that all currently supported |
309 session types imply that a user is logged into the session (i.e. features that | 309 session types imply that a user is logged into the session (i.e. features that |
310 use `session_types` property will be disabled when a user is not logged in). | 310 use `session_types` property will be disabled when a user is not logged in). |
311 | 311 |
312 The accepted values are lists of strings from `regular` and `kiosk`. | 312 The accepted values are lists of strings from `regular`, `kiosk` and |
313 `kiosk.autolaunched`. | |
314 | |
315 `regular` session is a session launched for a regular, authenticated user. | |
316 | |
317 `kiosk` session is a session launched for a kiosk app - an app that runs on its | |
318 own, in full control of the current session. | |
319 | |
320 `kiosk.autolaunched` represents auto-launched kiosk session - a kiosk session | |
321 that is launched automatically from Chrome OS login screen, without any user | |
322 interaction. Note that allowing `kiosk` session implies allowing | |
323 `kiosk.autolanched` session. | |
achuithb
2017/01/04 23:25:30
autolaunched
tbarzic
2017/01/04 23:39:48
Done.
| |
313 | 324 |
314 ### source | 325 ### source |
315 | 326 |
316 The `source` property specifies that the feature is an alias for the feature | 327 The `source` property specifies that the feature is an alias for the feature |
317 specified by the property value, and is only allowed for API features. | 328 specified by the property value, and is only allowed for API features. |
318 For more information about alias features, see [alias](#alias) property document ation. | 329 For more information about alias features, see [alias](#alias) property |
330 documentation. | |
319 | 331 |
320 For complex features, `source` property will be set to the `source` value of the | 332 For complex features, `source` property will be set to the `source` value of the |
321 first component simple feature that has it set. | 333 first component simple feature that has it set. |
322 | 334 |
323 ### whitelist | 335 ### whitelist |
324 | 336 |
325 The `whitelist` property specifies a list of ID hashes for extensions that | 337 The `whitelist` property specifies a list of ID hashes for extensions that |
326 are the only extensions allowed to access a feature. | 338 are the only extensions allowed to access a feature. |
327 | 339 |
328 Accepted values are lists of id hashes. | 340 Accepted values are lists of id hashes. |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
437 at runtime, this has the added benefit of allowing us to validate at compile | 449 at runtime, this has the added benefit of allowing us to validate at compile |
438 time rather than needing a unittest (or allowing incorrect features). | 450 time rather than needing a unittest (or allowing incorrect features). |
439 | 451 |
440 In theory, invalid features should result in a compilation failure; in practice, | 452 In theory, invalid features should result in a compilation failure; in practice, |
441 the compiler is probably missing some cases. | 453 the compiler is probably missing some cases. |
442 | 454 |
443 ## Still to come | 455 ## Still to come |
444 | 456 |
445 TODO(devlin): Add documentation for extension types. Probably also more on | 457 TODO(devlin): Add documentation for extension types. Probably also more on |
446 requirements for individual features. | 458 requirements for individual features. |
OLD | NEW |