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

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

Issue 2761263007: ChromeOS: Expose 'device type' signal (Closed)
Patch Set: replace StringPrintf with string Created 3 years, 9 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 c0845421be1d524f66cf650668a10cbae1ce04ef..7f34f7ab8ace9e9e18a5f59e7cbfec9bb03aec6c 100644
--- a/chrome/common/extensions/api/chromeos_info_private.json
+++ b/chrome/common/extensions/api/chromeos_info_private.json
@@ -46,6 +46,12 @@
"type": "string",
"enum": ["managed", "not managed"],
"description": "Status of enterprise enrollment."
+ },
+ {
+ "id": "DeviceType",
+ "type": "string",
+ "enum": ["chromebase", "chromebit", "chromebook", "chromebox", "chromedevice"],
+ "description": "Device type."
}
],
"functions": [
@@ -78,6 +84,7 @@
"sessionType": {"$ref": "SessionType", "optional": true},
"playStoreStatus": {"$ref": "PlayStoreStatus", "optional": true},
"managedDeviceStatus": {"$ref": "ManagedDeviceStatus", "optional": true},
+ "deviceType": {"$ref": "DeviceType", "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