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

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

Issue 1911643002: Add configurable limit to allocations in heap profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update rename in unittest Created 4 years, 7 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
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 4675 matching lines...) Expand 10 before | Expand all | Expand 10 after
4686 { 4686 {
4687 "name": "clearDeviceOrientationOverride", 4687 "name": "clearDeviceOrientationOverride",
4688 "description": "Clears the overridden Device Orientation." 4688 "description": "Clears the overridden Device Orientation."
4689 } 4689 }
4690 ] 4690 ]
4691 }, 4691 },
4692 { 4692 {
4693 "domain": "Tracing", 4693 "domain": "Tracing",
4694 "types": [ 4694 "types": [
4695 { 4695 {
4696 "id": "MemoryDumpTrigger", 4696 "id": "Trigger",
4697 "type": "object", 4697 "type": "object",
4698 "properties": [ 4698 "properties": [
4699 { "name": "mode", "type": "string", "enum": ["light", "detai led"], "description": "Level of detail of the triggered memory dumps." }, 4699 { "name": "mode", "type": "string", "enum": ["light", "detai led"], "description": "Level of detail of the triggered memory dumps." },
4700 { "name": "periodicIntervalMs", "type": "integer", "descript ion": "Length of the periodic intervals between the triggered memory dumps." } 4700 { "name": "periodicIntervalMs", "type": "integer", "descript ion": "Length of the periodic intervals between the triggered memory dumps." }
4701 ], 4701 ],
4702 "description": "Memory dump trigger configuration." 4702 "description": "Memory dump trigger configuration."
4703 }, 4703 },
4704 { "id": "HeapProfiler",
pfeldman 2016/04/29 02:14:27 This is getting too hairy. Could we bring some san
Primiano Tucci (use gerrit) 2016/04/29 08:54:00 Can we delay the exposure of this to the devtools
4705 "type": "object",
4706 "properties": [
4707 { "name": "breakdownThresholdBytes", "type": "number", "option al": true, "description": "The threshold in bytes beneath which heap profiler st acks are not broken down any further" }
4708 ],
4709 "description": "Provides additional options for the heap profile r."
4710 },
4704 { 4711 {
4705 "id": "MemoryDumpConfig", 4712 "id": "MemoryDumpConfig",
4706 "type": "object", 4713 "type": "object",
4707 "properties": [ 4714 "properties": [
4708 { "name": "triggers", "type": "array", "items": { "$ref": "M emoryDumpTrigger" }, "optional": false, "description": "Memory dump trigger conf iguration." } 4715 { "name": "triggers", "type": "array", "items": { "$ref": "T rigger" }, "optional": false, "description": "Memory dump trigger configuration. " },
4716 { "name": "heapProfilerOptions", "$ref": "HeapProfiler", "op tional": true, "description": "Provides additional options for the heap profiler ." }
4709 ], 4717 ],
4710 "description": "Configuration for memory dump triggers. Used onl y when \"memory-infra\" category is enabled." 4718 "description": "Configuration for memory dump triggers. Used onl y when \"memory-infra\" category is enabled."
4711 }, 4719 },
4712 { 4720 {
4713 "id": "TraceConfig", 4721 "id": "TraceConfig",
4714 "type": "object", 4722 "type": "object",
4715 "properties": [ 4723 "properties": [
4716 { "name": "recordMode", "type": "string", "optional": true, "enum": ["recordUntilFull", "recordContinuously", "recordAsMuchAsPossible", "ech oToConsole"], "description": "Controls how the trace buffer stores data." }, 4724 { "name": "recordMode", "type": "string", "optional": true, "enum": ["recordUntilFull", "recordContinuously", "recordAsMuchAsPossible", "ech oToConsole"], "description": "Controls how the trace buffer stores data." },
4717 { "name": "enableSampling", "type": "boolean", "optional": t rue, "description": "Turns on JavaScript stack sampling." }, 4725 { "name": "enableSampling", "type": "boolean", "optional": t rue, "description": "Turns on JavaScript stack sampling." },
4718 { "name": "enableSystrace", "type": "boolean", "optional": t rue, "description": "Turns on system tracing." }, 4726 { "name": "enableSystrace", "type": "boolean", "optional": t rue, "description": "Turns on system tracing." },
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
5085 ], 5093 ],
5086 "returns": [ 5094 "returns": [
5087 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5095 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5088 ], 5096 ],
5089 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5097 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5090 "hidden": true 5098 "hidden": true
5091 } 5099 }
5092 ] 5100 ]
5093 }] 5101 }]
5094 } 5102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698