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

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..cdf2d9be2fd19feb3b0563bb0cdd34dd41075fbf 100644
--- a/chrome/common/extensions/api/chromeos_info_private.json
+++ b/chrome/common/extensions/api/chromeos_info_private.json
@@ -28,6 +28,22 @@
"a11ySwitchAccessEnabled",
"sendFunctionKeys"],
"description": "Chrome OS system property name"
+ },
+ {
+ "id": "SessionType",
+ "type": "string",
+ "enum": ["normal",
Devlin 2016/09/06 23:04:54 nit: we don't need to line wrap these
Rahul Chaturvedi 2016/09/06 23:19:35 Done.
+ "kiosk",
+ "public session"],
+ "description": "Current session type"
Devlin 2016/09/06 23:04:53 Can we describe the different values?
Rahul Chaturvedi 2016/09/06 23:19:35 I am not sure if adding a description here will co
Devlin 2016/09/07 16:12:28 What is a "normal" session? Signed-in? Not signe
Rahul Chaturvedi 2016/09/07 20:13:23 Aren't these things that we'd typically put in API
Devlin 2016/09/07 20:23:27 This is the API documentation. :) If we want to h
+ },
+ {
+ "id": "PlayStoreStatus",
+ "type": "string",
+ "enum": ["not available",
Devlin 2016/09/06 23:04:53 ditto re line wrapping
Rahul Chaturvedi 2016/09/06 23:19:35 Done.
+ "available",
+ "enabled"],
+ "description": "Status of the play store"
Devlin 2016/09/06 23:04:53 ditto - esp given "available" and "enabled" sound
Rahul Chaturvedi 2016/09/06 23:19:35 Clarified the difference between available and ena
Devlin 2016/09/07 16:12:28 What is the play store in this context? Why would
Rahul Chaturvedi 2016/09/07 20:13:23 Same explanation as above.
}
],
"functions": [
@@ -57,6 +73,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