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

Unified Diff: third_party/WebKit/Source/core/inspector/protocol-1.1/Memory.json

Issue 2035653005: DevTools: split protocol.json into files per domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
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."
+ }
+ ]
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698