OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "processes", | 7 "namespace": "processes", |
8 "description": "Use the <code>chrome.processes</code> API to interact with t
he browser's processes.", | 8 "description": "Use the <code>chrome.processes</code> API to interact with t
he browser's processes.", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "jsMemoryUsed": { | 64 "jsMemoryUsed": { |
65 "type": "number", | 65 "type": "number", |
66 "optional": true, | 66 "optional": true, |
67 "description": "The most recent measurement of the process JavaScrip
t memory used, in bytes. Only available when receiving the object as part of a c
allback from onUpdated or onUpdatedWithMemory." | 67 "description": "The most recent measurement of the process JavaScrip
t memory used, in bytes. Only available when receiving the object as part of a c
allback from onUpdated or onUpdatedWithMemory." |
68 }, | 68 }, |
69 "sqliteMemory": { | 69 "sqliteMemory": { |
70 "type": "number", | 70 "type": "number", |
71 "optional": true, | 71 "optional": true, |
72 "description": "The most recent measurement of the process’s SQLite
memory usage, in bytes. Only available when receiving the object as part of a ca
llback from onUpdated or onUpdatedWithMemory." | 72 "description": "The most recent measurement of the process’s SQLite
memory usage, in bytes. Only available when receiving the object as part of a ca
llback from onUpdated or onUpdatedWithMemory." |
73 }, | 73 }, |
74 "fps": { | |
75 "type": "number", | |
76 "optional": true, | |
77 "description": "The most recent measurement of the process frames pe
r second. Only available when receiving the object as part of a callback from on
Updated or onUpdatedWithMemory." | |
78 }, | |
79 "imageCache": { | 74 "imageCache": { |
80 "$ref": "Cache", | 75 "$ref": "Cache", |
81 "optional": true, | 76 "optional": true, |
82 "description": "The most recent information about the image cache fo
r the process. Only available when receiving the object as part of a callback fr
om onUpdated or onUpdatedWithMemory." | 77 "description": "The most recent information about the image cache fo
r the process. Only available when receiving the object as part of a callback fr
om onUpdated or onUpdatedWithMemory." |
83 }, | 78 }, |
84 "scriptCache": { | 79 "scriptCache": { |
85 "$ref": "Cache", | 80 "$ref": "Cache", |
86 "optional": true, | 81 "optional": true, |
87 "description": "The most recent information about the script cache f
or the process. Only available when receiving the object as part of a callback f
rom onUpdated or onUpdatedWithMemory." | 82 "description": "The most recent information about the script cache f
or the process. Only available when receiving the object as part of a callback f
rom onUpdated or onUpdatedWithMemory." |
88 }, | 83 }, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 { | 257 { |
263 "name": "exitCode", | 258 "name": "exitCode", |
264 "description": "The exit code if the process exited abnormally. Only
available for renderer processes.", | 259 "description": "The exit code if the process exited abnormally. Only
available for renderer processes.", |
265 "type": "integer" | 260 "type": "integer" |
266 } | 261 } |
267 ] | 262 ] |
268 } | 263 } |
269 ] | 264 ] |
270 } | 265 } |
271 ] | 266 ] |
OLD | NEW |