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

Side by Side Diff: content/browser/devtools/browser_protocol.json

Issue 665123002: [DevTools] Move SystemInfo domain to generated handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browserProtocol
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "0" }, 2 "version": { "major": "1", "minor": "0" },
3 "domains": [{ 3 "domains": [{
4 "domain": "SystemInfo", 4 "domain": "SystemInfo",
5 "description": "The SystemInfo domain defines methods and events for que rying low-level system information.", 5 "description": "The SystemInfo domain defines methods and events for que rying low-level system information.",
6 "hidden": true, 6 "hidden": true,
7 "types": [ 7 "types": [
8 { 8 {
9 "id": "GPUDevice", 9 "id": "GPUDevice",
10 "type": "object", 10 "type": "object",
(...skipping 14 matching lines...) Expand all
25 { "name": "featureStatus", "type": "object", "optional": "tr ue", "description": "An optional dictionary of graphics features and their statu s." }, 25 { "name": "featureStatus", "type": "object", "optional": "tr ue", "description": "An optional dictionary of graphics features and their statu s." },
26 { "name": "driverBugWorkarounds", "type": "array", "items": { "type": "string" }, "description": "An optional array of GPU driver bug workar ounds." } 26 { "name": "driverBugWorkarounds", "type": "array", "items": { "type": "string" }, "description": "An optional array of GPU driver bug workar ounds." }
27 ], 27 ],
28 "description": "Provides information about the GPU(s) on the sys tem." 28 "description": "Provides information about the GPU(s) on the sys tem."
29 }, 29 },
30 { 30 {
31 "id": "SystemInfo", 31 "id": "SystemInfo",
32 "type": "object", 32 "type": "object",
33 "properties": [ 33 "properties": [
34 { "name": "gpu", "$ref": "GPUInfo", "description": "Informat ion about the GPUs on the system." }, 34 { "name": "gpu", "$ref": "GPUInfo", "description": "Informat ion about the GPUs on the system." },
35 { "name": "modelName", "type": "string", "description": "A p latform-dependent description of the model of the machine. On Mac OS, this is, f or example, 'MacBookPro 10.1'. Will be the empty string if not supported." } 35 { "name": "modelName", "type": "string", "description": "A p latform-dependent description of the model of the machine. On Mac OS, this is, f or example, 'MacBookPro'. Will be the empty string if not supported." },
36 { "name": "modelVersion", "type": "string", "description": " A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported." }
36 ], 37 ],
37 "description": "Provides information about the system." 38 "description": "Provides information about the system."
38 } 39 }
39 ], 40 ],
40 "commands": [ 41 "commands": [
41 { 42 {
42 "name": "getInfo", 43 "name": "getInfo",
43 "description": "Returns information about the system.", 44 "description": "Returns information about the system.",
44 "returns": [ 45 "returns": [
45 { "name": "info", "$ref": "SystemInfo", "description": "Info rmation about the system." } 46 { "name": "info", "$ref": "SystemInfo", "description": "Info rmation about the system." }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "description": "Informs that port was successfully bound and got a specified connection id.", 79 "description": "Informs that port was successfully bound and got a specified connection id.",
79 "parameters": [ 80 "parameters": [
80 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 81 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
81 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 82 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
82 ], 83 ],
83 "handlers": ["browser"] 84 "handlers": ["browser"]
84 } 85 }
85 ] 86 ]
86 }] 87 }]
87 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698