Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 { | |
| 2 "version": { "major": "1", "minor": "0" }, | |
| 3 "domains": [{ | |
| 4 "domain": "SystemInfo", | |
| 5 "description": "The SystemInfo domain defines methods and events for que rying low-level system information.", | |
| 6 "hidden": true, | |
| 7 "types": [ | |
| 8 { | |
| 9 "id": "GPUDevice", | |
| 10 "type": "object", | |
| 11 "properties": [ | |
| 12 { "name": "vendorId", "type": "number", "description": "PCI ID of the GPU vendor, if available; 0 otherwise." }, | |
| 13 { "name": "deviceId", "type": "number", "description": "PCI ID of the GPU device, if available; 0 otherwise." }, | |
| 14 { "name": "vendorString", "type": "string", "description": " String description of the GPU vendor, if the PCI ID is not available." }, | |
| 15 { "name": "deviceString", "type": "string", "description": " String description of the GPU device, if the PCI ID is not available." } | |
| 16 ], | |
| 17 "description": "Describes a single graphics processor (GPU)." | |
| 18 }, | |
| 19 { | |
| 20 "id": "GPUInfo", | |
| 21 "type": "object", | |
| 22 "properties": [ | |
| 23 { "name": "gpus", "type": "array", "items": { "$ref": "GPUDe vice" }, "description": "The GPU(s) on the system. Element 0 is the primary GPU. " }, | |
|
pfeldman
2013/08/14 19:31:37
nit: "devices" is more pleasant to my non-native e
Ken Russell (switch to Gerrit)
2013/08/14 21:17:51
Fine, I'll rename it.
| |
| 24 { "name": "auxAttributes", "type": "object", "optional": "tr ue", "description": "An optional dictionary of additional GPU related attributes ." } | |
| 25 ], | |
| 26 "description": "Provides information about the GPU(s) on the sys tem." | |
| 27 }, | |
| 28 { | |
| 29 "id": "SystemInfo", | |
| 30 "type": "object", | |
| 31 "properties": [ | |
| 32 { "name": "gpu", "$ref": "GPUInfo", "description": "Informat ion about the GPUs on the system." }, | |
| 33 { "name": "machineModel", "type": "string", "description": " A platform-dependent description of the model of the machine. On Mac OS, this is , for example, 'MacBookPro 10.1'. Will be the empty string if not supported." } | |
|
pfeldman
2013/08/14 19:31:37
nit: Should we follow System Information naming he
Ken Russell (switch to Gerrit)
2013/08/14 21:17:51
I'll rename it "modelName". It doesn't really corr
| |
| 34 ], | |
| 35 "description": "Provides information about the system." | |
| 36 } | |
| 37 ], | |
| 38 "commands": [ | |
| 39 { | |
| 40 "name": "getInfo", | |
| 41 "description": "Returns information about the system.", | |
| 42 "returns": [ | |
| 43 { "name": "info", "$ref": "SystemInfo", "description": "Info rmation about the system." } | |
| 44 ] | |
| 45 } | |
| 46 ] | |
| 47 }] | |
| 48 } | |
| OLD | NEW |