Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10226)

Unified Diff: chrome/common/extensions/api/_features.md

Issue 2255613003: Introduce session type parameter to extension features (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce session type parameter to extension features Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/api/common_extension_api_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/_features.md
diff --git a/chrome/common/extensions/api/_features.md b/chrome/common/extensions/api/_features.md
index baad63aa5d952ec41caa8548a307fdb8f892c828..bd4a86ee1adf1b9d58d6015fd1388f860c6742a0 100644
--- a/chrome/common/extensions/api/_features.md
+++ b/chrome/common/extensions/api/_features.md
@@ -253,6 +253,18 @@ available on.
The accepted values are lists of strings from `chromeos`, `mac`, `linux`, and
`win`.
+### session\_types
+
+The `session_types` property specifies in which types of sessions a feature
+should be available. The session type describes the type of user that is
+logged in the current session. Session types to which feature can be restricted
+are only supported on Chrome OS - features restricted to set of session types
+will be disabled on other platforms. Also, note that all currently supported
+session types imply that a user is logged into the session (i.e. features that
+use 'session_types' property will be disabled when a user is not logged in).
+
+The accepted values are lists of strings from `regular` and `kiosk`.
+
### whitelist
The `whitelist` property specifies a list of ID hashes for extensions that
« no previous file with comments | « no previous file | chrome/common/extensions/api/common_extension_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698