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

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: Fixed tracing handler 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 "types": [ 4686 "types": [
4687 { 4687 {
4688 "id": "MemoryDumpTrigger", 4688 "id": "MemoryDumpTrigger",
4689 "type": "object", 4689 "type": "object",
4690 "properties": [ 4690 "properties": [
4691 { "name": "mode", "type": "string", "enum": ["light", "detai led"], "description": "Level of detail of the triggered memory dumps." }, 4691 { "name": "mode", "type": "string", "enum": ["light", "detai led"], "description": "Level of detail of the triggered memory dumps." },
4692 { "name": "periodicIntervalMs", "type": "integer", "descript ion": "Length of the periodic intervals between the triggered memory dumps." } 4692 { "name": "periodicIntervalMs", "type": "integer", "descript ion": "Length of the periodic intervals between the triggered memory dumps." }
4693 ], 4693 ],
4694 "description": "Memory dump trigger configuration." 4694 "description": "Memory dump trigger configuration."
4695 }, 4695 },
4696 { "id": "HeapProfilerOptions",
4697 "type": "object",
4698 "properties": [
4699 { "name": "breakdown_threshold_bytes", "type": "number", "opti onal": true, "description": "The threshold in bytes beneath which heap profiler stacks are not broken down any further" }
caseq 2016/04/26 01:15:07 please note the style of identifiers in protocol.j
Maria 2016/04/27 22:58:12 Done.
4700 ],
4701 "description": "Provides additional options for the heap profile r."
4702 },
4696 { 4703 {
4697 "id": "MemoryDumpConfig", 4704 "id": "MemoryDumpConfig",
4698 "type": "object", 4705 "type": "object",
4699 "properties": [ 4706 "properties": [
4700 { "name": "triggers", "type": "array", "items": { "$ref": "M emoryDumpTrigger" }, "optional": false, "description": "Memory dump trigger conf iguration." } 4707 { "name": "triggers", "type": "array", "items": { "$ref": "M emoryDumpTrigger" }, "optional": false, "description": "Memory dump trigger conf iguration." },
4708 { "name": "heap_profiler_options", "$ref": "HeapProfilerOpti ons", "optional": true, "description": "Provides additional options for the heap profiler." }
caseq 2016/04/26 01:15:07 ditto.
Maria 2016/04/27 22:58:12 Done.
4701 ], 4709 ],
4702 "description": "Configuration for memory dump triggers. Used onl y when \"memory-infra\" category is enabled." 4710 "description": "Configuration for memory dump triggers. Used onl y when \"memory-infra\" category is enabled."
4703 }, 4711 },
4704 { 4712 {
4705 "id": "TraceConfig", 4713 "id": "TraceConfig",
4706 "type": "object", 4714 "type": "object",
4707 "properties": [ 4715 "properties": [
4708 { "name": "recordMode", "type": "string", "optional": true, "enum": ["recordUntilFull", "recordContinuously", "recordAsMuchAsPossible", "ech oToConsole"], "description": "Controls how the trace buffer stores data." }, 4716 { "name": "recordMode", "type": "string", "optional": true, "enum": ["recordUntilFull", "recordContinuously", "recordAsMuchAsPossible", "ech oToConsole"], "description": "Controls how the trace buffer stores data." },
4709 { "name": "enableSampling", "type": "boolean", "optional": t rue, "description": "Turns on JavaScript stack sampling." }, 4717 { "name": "enableSampling", "type": "boolean", "optional": t rue, "description": "Turns on JavaScript stack sampling." },
4710 { "name": "enableSystrace", "type": "boolean", "optional": t rue, "description": "Turns on system tracing." }, 4718 { "name": "enableSystrace", "type": "boolean", "optional": t rue, "description": "Turns on system tracing." },
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
5077 ], 5085 ],
5078 "returns": [ 5086 "returns": [
5079 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5087 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5080 ], 5088 ],
5081 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5089 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5082 "hidden": true 5090 "hidden": true
5083 } 5091 }
5084 ] 5092 ]
5085 }] 5093 }]
5086 } 5094 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698