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

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

Issue 1308163002: Add optional streamId param to Tracing.tracingComplete in DevTools protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | 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 4833 matching lines...) Expand 10 before | Expand all | Expand 10 after
4844 "name": "dataCollected", 4844 "name": "dataCollected",
4845 "parameters": [ 4845 "parameters": [
4846 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 4846 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
4847 ], 4847 ],
4848 "description": "Contains an bucket of collected trace events. Wh en tracing is stopped collected events will be send as a sequence of dataCollect ed events followed by tracingComplete event.", 4848 "description": "Contains an bucket of collected trace events. Wh en tracing is stopped collected events will be send as a sequence of dataCollect ed events followed by tracingComplete event.",
4849 "handlers": ["browser"] 4849 "handlers": ["browser"]
4850 }, 4850 },
4851 { 4851 {
4852 "name": "tracingComplete", 4852 "name": "tracingComplete",
4853 "description": "Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.", 4853 "description": "Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.",
4854 "parameters": [
4855 { "name": "streamId", "type": "string", "optional": true, "d escription": "The id of the stream that holds resulting trace data." }
pfeldman 2015/08/24 17:48:25 Lets introduce a type for this.
4856 ],
4854 "handlers": ["browser"] 4857 "handlers": ["browser"]
4855 }, 4858 },
4856 { 4859 {
4857 "name": "bufferUsage", 4860 "name": "bufferUsage",
4858 "parameters": [ 4861 "parameters": [
4859 { "name": "percentFull", "type": "number", "optional": true, "description": "A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size." }, 4862 { "name": "percentFull", "type": "number", "optional": true, "description": "A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size." },
4860 { "name": "eventCount", "type": "number", "optional": true, "description": "An approximate number of events in the trace log." }, 4863 { "name": "eventCount", "type": "number", "optional": true, "description": "An approximate number of events in the trace log." },
4861 { "name": "value", "type": "number", "optional": true, "desc ription": "A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size." } 4864 { "name": "value", "type": "number", "optional": true, "desc ription": "A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size." }
4862 ], 4865 ],
4863 "handlers": ["browser"] 4866 "handlers": ["browser"]
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
5155 ], 5158 ],
5156 "returns": [ 5159 "returns": [
5157 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5160 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5158 ], 5161 ],
5159 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5162 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5160 "hidden": true 5163 "hidden": true
5161 } 5164 }
5162 ] 5165 ]
5163 }] 5166 }]
5164 } 5167 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698