| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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": "experimental.processes", | 7 "namespace": "experimental.processes", |
| 8 "description": "Use the <code>chrome.experimental.processes</code> API to in
teract with the browser's processes.", |
| 8 "types": [ | 9 "types": [ |
| 9 { | 10 { |
| 10 "id": "Process", | 11 "id": "Process", |
| 11 "type": "object", | 12 "type": "object", |
| 12 "description": "An object containing information about one of the browse
r's processes.", | 13 "description": "An object containing information about one of the browse
r's processes.", |
| 13 "properties": { | 14 "properties": { |
| 14 "id": { | 15 "id": { |
| 15 "type": "integer", | 16 "type": "integer", |
| 16 "description": "Unique ID of the process provided by the browser." | 17 "description": "Unique ID of the process provided by the browser." |
| 17 }, | 18 }, |
| 18 "osProcessId": { | 19 "osProcessId": { |
| 19 "type": "integer", | 20 "type": "integer", |
| 20 "description": "The ID of the process, as provided by the OS." | 21 "description": "The ID of the process, as provided by the OS." |
| 21 }, | 22 }, |
| 22 "type": { | 23 "type": { |
| 23 "type": "string", | 24 "type": "string", |
| 24 "enum": ["browser", "renderer", "extension", "notification", "plugin
", "worker", "nacl", "utility", "gpu", "other"], | 25 "enum": ["browser", "renderer", "extension", "notification", "plugin
", "worker", "nacl", "utility", "gpu", "other"], |
| 25 "description": "The type of process." | 26 "description": "The type of process." |
| 26 }, | 27 }, |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 { | 254 { |
| 254 "name": "exitCode", | 255 "name": "exitCode", |
| 255 "description": "The exit code if the process exited abnormally. Only
available for renderer processes.", | 256 "description": "The exit code if the process exited abnormally. Only
available for renderer processes.", |
| 256 "type": "integer" | 257 "type": "integer" |
| 257 } | 258 } |
| 258 ] | 259 ] |
| 259 } | 260 } |
| 260 ] | 261 ] |
| 261 } | 262 } |
| 262 ] | 263 ] |
| OLD | NEW |