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

Side by Side Diff: Source/devtools/protocol.json

Issue 336713005: [Blink] [PowerProfiler] Support accuracy level attribute for power data provider. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing! Created 6 years, 6 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 unified diff | Download patch
« no previous file with comments | « Source/devtools/front_end/timeline/TimelinePanel.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 4175 matching lines...) Expand 10 before | Expand all | Expand 10 after
4186 "handlers": ["browser", "frontend"] 4186 "handlers": ["browser", "frontend"]
4187 }, 4187 },
4188 { 4188 {
4189 "name": "canProfilePower", 4189 "name": "canProfilePower",
4190 "description": "Tells whether power profiling is supported.", 4190 "description": "Tells whether power profiling is supported.",
4191 "returns": [ 4191 "returns": [
4192 { "name": "result", "type": "boolean", "description": "True if power profiling is supported." } 4192 { "name": "result", "type": "boolean", "description": "True if power profiling is supported." }
4193 ], 4193 ],
4194 "hidden": true, 4194 "hidden": true,
4195 "handlers": ["browser", "frontend"] 4195 "handlers": ["browser", "frontend"]
4196 },
4197 {
4198 "name": "getAccuracyLevel",
4199 "description": "Describes the accuracy level of the data provide r.",
4200 "returns": [
4201 { "name": "result", "type": "string", "enum": ["high", "mode rate", "low"] }
4202 ],
4203 "handlers": ["browser", "frontend"]
4196 } 4204 }
4197 ], 4205 ],
4198 "events": [ 4206 "events": [
4199 { 4207 {
4200 "name": "dataAvailable", 4208 "name": "dataAvailable",
4201 "parameters": [ 4209 "parameters": [
4202 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4210 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4203 ], 4211 ],
4204 "handlers": ["browser", "frontend"] 4212 "handlers": ["browser", "frontend"]
4205 } 4213 }
4206 ] 4214 ]
4207 }] 4215 }]
4208 } 4216 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelinePanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698