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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/protocol-1.1/HeapProfiler.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, 6 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
(Empty)
1 {
2 "domain": "HeapProfiler",
3 "version": {
4 "major": "1",
5 "minor": "1"
6 },
7 "hidden": true,
8 "types": [
9 {
10 "id": "ProfileHeader",
11 "type": "object",
12 "description": "Profile header.",
13 "properties": [
14 {
15 "name": "title",
16 "type": "string",
17 "description": "Profile title."
18 },
19 {
20 "name": "uid",
21 "type": "integer",
22 "description": "Unique identifier of the profile."
23 },
24 {
25 "name": "maxJSObjectId",
26 "type": "integer",
27 "optional": true,
28 "description": "Last seen JS object Id."
29 }
30 ]
31 },
32 {
33 "id": "HeapSnapshotObjectId",
34 "type": "string",
35 "description": "Heap snashot object id."
36 }
37 ],
38 "commands": [
39 {
40 "name": "getProfileHeaders",
41 "returns": [
42 {
43 "name": "headers",
44 "type": "array",
45 "items": {
46 "$ref": "ProfileHeader"
47 }
48 }
49 ]
50 },
51 {
52 "name": "startTrackingHeapObjects"
53 },
54 {
55 "name": "stopTrackingHeapObjects"
56 },
57 {
58 "name": "getHeapSnapshot",
59 "parameters": [
60 {
61 "name": "uid",
62 "type": "integer"
63 }
64 ]
65 },
66 {
67 "name": "removeProfile",
68 "parameters": [
69 {
70 "name": "uid",
71 "type": "integer"
72 }
73 ]
74 },
75 {
76 "name": "clearProfiles"
77 },
78 {
79 "name": "takeHeapSnapshot",
80 "parameters": [
81 {
82 "name": "reportProgress",
83 "type": "boolean",
84 "optional": true,
85 "description": "If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken."
86 }
87 ]
88 },
89 {
90 "name": "collectGarbage"
91 },
92 {
93 "name": "getObjectByHeapObjectId",
94 "parameters": [
95 {
96 "name": "objectId",
97 "$ref": "HeapSnapshotObjectId"
98 },
99 {
100 "name": "objectGroup",
101 "type": "string",
102 "optional": true,
103 "description": "Symbolic group name that can be used to rele ase multiple objects."
104 }
105 ],
106 "returns": [
107 {
108 "name": "result",
109 "$ref": "Runtime.RemoteObject",
110 "description": "Evaluation result."
111 }
112 ]
113 },
114 {
115 "name": "getHeapObjectId",
116 "parameters": [
117 {
118 "name": "objectId",
119 "$ref": "Runtime.RemoteObjectId",
120 "description": "Identifier of the object to get heap object id for."
121 }
122 ],
123 "returns": [
124 {
125 "name": "heapSnapshotObjectId",
126 "$ref": "HeapSnapshotObjectId",
127 "description": "Id of the heap snapshot object corresponding to the passed remote object id."
128 }
129 ]
130 }
131 ],
132 "events": [
133 {
134 "name": "addProfileHeader",
135 "parameters": [
136 {
137 "name": "header",
138 "$ref": "ProfileHeader"
139 }
140 ]
141 },
142 {
143 "name": "addHeapSnapshotChunk",
144 "parameters": [
145 {
146 "name": "uid",
147 "type": "integer"
148 },
149 {
150 "name": "chunk",
151 "type": "string"
152 }
153 ]
154 },
155 {
156 "name": "finishHeapSnapshot",
157 "parameters": [
158 {
159 "name": "uid",
160 "type": "integer"
161 }
162 ]
163 },
164 {
165 "name": "resetProfiles"
166 },
167 {
168 "name": "reportHeapSnapshotProgress",
169 "parameters": [
170 {
171 "name": "done",
172 "type": "integer"
173 },
174 {
175 "name": "total",
176 "type": "integer"
177 }
178 ]
179 },
180 {
181 "name": "lastSeenObjectId",
182 "description": "If heap objects tracking has been started then backe nd regulary sends a current value for last seen object id and corresponding time stamp. If the were changes in the heap since last event then one or more heapSta tsUpdate events will be sent before a new lastSeenObjectId event.",
183 "parameters": [
184 {
185 "name": "lastSeenObjectId",
186 "type": "integer"
187 },
188 {
189 "name": "timestamp",
190 "type": "number"
191 }
192 ]
193 },
194 {
195 "name": "heapStatsUpdate",
196 "description": "If heap objects tracking has been started then backe nd may send update for one or more fragments",
197 "parameters": [
198 {
199 "name": "statsUpdate",
200 "type": "array",
201 "items": {
202 "type": "integer"
203 },
204 "description": "An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a to tal count of objects for the fragment, the third integer is a total size of the objects for the fragment."
205 }
206 ]
207 }
208 ]
209 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698