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

Issue 22980005: Documented SystemInfo domain in DevTools protocol. (Closed)

Created:
7 years, 4 months ago by Ken Russell (switch to Gerrit)
Modified:
7 years, 4 months ago
Reviewers:
pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, yurys
Visibility:
Public.

Description

Documented SystemInfo domain in DevTools protocol. Per review feedback on https://codereview.chromium.org/21682002/ , documented the SystemInfo domain and associated types and methods in the DevTools protocol. Like the Tracing domain, this domain is hidden for the time being, until agreement is reached that it will be publicly documented and supported. Built and ran all inspector-related layout tests. BUG=245741

Patch Set 1 #

Total comments: 8

Patch Set 2 : Restructured types and protocol per pfeldman's feedback. #

Patch Set 3 : Removed SystemInfo domain from protocol.json. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -0 lines) Patch
A Source/devtools/browser_protocol.json View 1 1 chunk +48 lines, -0 lines 4 comments Download

Messages

Total messages: 5 (0 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
7 years, 4 months ago (2013-08-14 00:53:32 UTC) #1
pfeldman
https://codereview.chromium.org/22980005/diff/1/Source/devtools/protocol.json File Source/devtools/protocol.json (right): https://codereview.chromium.org/22980005/diff/1/Source/devtools/protocol.json#newcode3823 Source/devtools/protocol.json:3823: "domain": "SystemInfo", You are declaring this domain on the ...
7 years, 4 months ago (2013-08-14 09:12:57 UTC) #2
Ken Russell (switch to Gerrit)
Moved SystemInfo domain to browser_protocol.json and restructured types and protocol per review feedback. https://codereview.chromium.org/22980005/diff/1/Source/devtools/protocol.json File ...
7 years, 4 months ago (2013-08-14 19:10:24 UTC) #3
pfeldman
Content lgtm. It actually belongs downstream (to where the browser target is defined and implemented). ...
7 years, 4 months ago (2013-08-14 19:31:37 UTC) #4
Ken Russell (switch to Gerrit)
7 years, 4 months ago (2013-08-14 21:17:50 UTC) #5
I'll move this to the other CL https://codereview.chromium.org/21682002/ and
close this one.

https://codereview.chromium.org/22980005/diff/10001/Source/devtools/browser_p...
File Source/devtools/browser_protocol.json (right):

https://codereview.chromium.org/22980005/diff/10001/Source/devtools/browser_p...
Source/devtools/browser_protocol.json:23: { "name": "gpus", "type": "array",
"items": { "$ref": "GPUDevice" }, "description": "The GPU(s) on the system.
Element 0 is the primary GPU." },
On 2013/08/14 19:31:37, pfeldman wrote:
> nit: "devices" is more pleasant to my non-native ear than gpus.

Fine, I'll rename it.

https://codereview.chromium.org/22980005/diff/10001/Source/devtools/browser_p...
Source/devtools/browser_protocol.json: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." }
On 2013/08/14 19:31:37, pfeldman wrote:
> nit: Should we follow System Information naming here? My Mac is:
> Model Name:	MacBook Pro
> Model Identifier:	MacBookPro10,1
> 
> I.e. should this be named "modelName"? 

I'll rename it "modelName". It doesn't really correspond either to the Mac model
name or identifier (in Chrome it's a reformatted model identifier) and I don't
want to require that it precisely match either one.

Powered by Google App Engine
This is Rietveld 408576698