| Index: third_party/WebKit/Source/core/inspector/protocol-1.1/Memory.json
|
| diff --git a/third_party/WebKit/Source/core/inspector/protocol-1.1/Memory.json b/third_party/WebKit/Source/core/inspector/protocol-1.1/Memory.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ac1cbc36e5b92eb1cbc5f581ecc9bf2641ee6281
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/inspector/protocol-1.1/Memory.json
|
| @@ -0,0 +1,104 @@
|
| +{
|
| + "domain": "Memory",
|
| + "version": {
|
| + "major": "1",
|
| + "minor": "1"
|
| + },
|
| + "hidden": true,
|
| + "types": [
|
| + {
|
| + "id": "MemoryBlock",
|
| + "type": "object",
|
| + "properties": [
|
| + {
|
| + "name": "size",
|
| + "type": "number",
|
| + "optional": true,
|
| + "description": "Size of the block in bytes if available"
|
| + },
|
| + {
|
| + "name": "name",
|
| + "type": "string",
|
| + "description": "Unique name used to identify the component that allocated this block"
|
| + },
|
| + {
|
| + "name": "children",
|
| + "type": "array",
|
| + "optional": true,
|
| + "items": {
|
| + "$ref": "MemoryBlock"
|
| + }
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "id": "HeapSnapshotChunk",
|
| + "type": "object",
|
| + "properties": [
|
| + {
|
| + "name": "strings",
|
| + "type": "array",
|
| + "items": {
|
| + "type": "string"
|
| + },
|
| + "description": "An array of strings that were found since last update."
|
| + },
|
| + {
|
| + "name": "nodes",
|
| + "type": "array",
|
| + "items": {
|
| + "type": "integer"
|
| + },
|
| + "description": "An array of nodes that were found since last update."
|
| + },
|
| + {
|
| + "name": "edges",
|
| + "type": "array",
|
| + "items": {
|
| + "type": "integer"
|
| + },
|
| + "description": "An array of edges that were found since last update."
|
| + },
|
| + {
|
| + "name": "baseToRealNodeId",
|
| + "type": "array",
|
| + "items": {
|
| + "type": "integer"
|
| + },
|
| + "description": "An array of integers for nodeId remapping. Even nodeId has to be mapped to the following odd nodeId."
|
| + }
|
| + ]
|
| + }
|
| + ],
|
| + "commands": [
|
| + {
|
| + "name": "getDOMCounters",
|
| + "returns": [
|
| + {
|
| + "name": "documents",
|
| + "type": "integer"
|
| + },
|
| + {
|
| + "name": "nodes",
|
| + "type": "integer"
|
| + },
|
| + {
|
| + "name": "jsEventListeners",
|
| + "type": "integer"
|
| + }
|
| + ]
|
| + }
|
| + ],
|
| + "events": [
|
| + {
|
| + "name": "addNativeSnapshotChunk",
|
| + "parameters": [
|
| + {
|
| + "name": "chunk",
|
| + "$ref": "HeapSnapshotChunk",
|
| + "description": "A chunk of the serialized the snapshot."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| +}
|
|
|