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

Unified Diff: chrome/common/extensions/api/chromeos_info_private.json

Issue 2314313002: Add sessionType and playStoreStatus to chromeosInfoPrivate. (Closed)
Patch Set: . 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
Index: chrome/common/extensions/api/chromeos_info_private.json
diff --git a/chrome/common/extensions/api/chromeos_info_private.json b/chrome/common/extensions/api/chromeos_info_private.json
index b87c606903fd8af9fead941799d4494dcebc554f..55d86a711ceab58bd1f340433896e02d8403646a 100644
--- a/chrome/common/extensions/api/chromeos_info_private.json
+++ b/chrome/common/extensions/api/chromeos_info_private.json
@@ -28,6 +28,18 @@
"a11ySwitchAccessEnabled",
"sendFunctionKeys"],
"description": "Chrome OS system property name"
+ },
+ {
+ "id": "SessionType",
+ "type": "string",
+ "enum": ["normal", "kiosk", "public session"],
+ "description": "Current session type."
+ },
+ {
+ "id": "PlayStoreStatus",
+ "type": "string",
+ "enum": ["not available", "available", "enabled"],
+ "description": "Status of the play store. Note: 'available' means that the device supports the playstore but it is not enabled."
}
],
"functions": [
@@ -57,6 +69,8 @@
"hwid": {"type": "string", "optional": true, "description": "Hardware ID"},
"initialLocale" : {"type": "string", "optional": true, "description": "Initial locale for the device"},
"isOwner" : {"type": "boolean", "optional": true, "description": "True if current logged in user is device owner"},
+ "sessionType": {"$ref": "SessionType", "optional": true},
+ "playStoreStatus": {"$ref": "PlayStoreStatus", "optional": true},
"clientId" : {"type": "string", "optional": true, "description": "Device client id"},
"timezone" : {"type": "string", "optional": true, "description": "Timezone"},
"a11yLargeCursorEnabled" : {"type": "boolean", "optional": true, "description": "If true, ChromeOS is showing enlarged cursor."},

Powered by Google App Engine
This is Rietveld 408576698