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

Side by Side Diff: chrome/common/extensions/api/experimental_processes.json

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 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
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
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 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/experimental_media_galleries.idl ('k') | chrome/common/extensions/api/experimental_record.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698