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

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

Issue 1235393005: Add Tracing.requestMemoryDump method to DevTools API (protocol) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 4695 matching lines...) Expand 10 before | Expand all | Expand 10 after
4706 "handlers": ["browser", "renderer"] 4706 "handlers": ["browser", "renderer"]
4707 }, 4707 },
4708 { 4708 {
4709 "name": "getCategories", 4709 "name": "getCategories",
4710 "async": true, 4710 "async": true,
4711 "description": "Gets supported tracing categories.", 4711 "description": "Gets supported tracing categories.",
4712 "returns": [ 4712 "returns": [
4713 { "name": "categories", "type": "array", "items": { "type": "string" }, "description": "A list of supported tracing categories." } 4713 { "name": "categories", "type": "array", "items": { "type": "string" }, "description": "A list of supported tracing categories." }
4714 ], 4714 ],
4715 "handlers": ["browser"] 4715 "handlers": ["browser"]
4716 },
4717 {
4718 "name": "requestMemoryDump",
4719 "async": true,
4720 "description": "Request a global memory dump.",
pfeldman 2015/07/20 18:44:07 Does tracing need to be started to use this one?
petrcermak 2015/07/21 08:03:59 Yes, it does. The request will fail if it hasn't b
4721 "returns": [
4722 { "name": "dumpGuid", "type": "string", "description": "GUID of the resulting global memory dump." },
4723 { "name": "success", "type": "boolean", "description": "True iff the global memory dump succeeded." }
4724 ],
4725 "handlers": ["browser"]
4716 } 4726 }
4717 ], 4727 ],
4718 "events": [ 4728 "events": [
4719 { 4729 {
4720 "name": "dataCollected", 4730 "name": "dataCollected",
4721 "parameters": [ 4731 "parameters": [
4722 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 4732 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
4723 ], 4733 ],
4724 "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.", 4734 "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.",
4725 "handlers": ["browser"] 4735 "handlers": ["browser"]
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
5077 "description": "The security state of the page changed.", 5087 "description": "The security state of the page changed.",
5078 "parameters": [ 5088 "parameters": [
5079 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, 5089 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." },
5080 { "name": "explanations", "type": "array", "items": { "$ref" : "SecurityStateExplanation" }, "description": "List of explanations for the sec urity state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.", "optional": true } 5090 { "name": "explanations", "type": "array", "items": { "$ref" : "SecurityStateExplanation" }, "description": "List of explanations for the sec urity state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.", "optional": true }
5081 ], 5091 ],
5082 "handlers": ["browser"] 5092 "handlers": ["browser"]
5083 } 5093 }
5084 ] 5094 ]
5085 }] 5095 }]
5086 } 5096 }
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