| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 [ | |
| 6 { | |
| 7 "namespace": "events", | |
| 8 "description": "Performance monitor events", | |
| 9 "types": [ | |
| 10 { | |
| 11 "id": "ExtensionEvent", | |
| 12 "type": "object", | |
| 13 "description": "The event to describe a significant occurrence with an e
xtension in Chrome, including installation, uninstallation, enablement, disablem
ent, and update.", | |
| 14 "properties": { | |
| 15 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
| 16 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
| 17 "extensionId": {"type": "string", "description": "The extension's id."
}, | |
| 18 "extensionName": {"type": "string", "description": "The extension's na
me."}, | |
| 19 "extensionUrl": {"type": "string", "description": "The extension's url
."}, | |
| 20 "extensionLocation": {"type": "integer", "description": "The extension
's install location."}, | |
| 21 "extensionVersion": {"type": "string", "description": "The string repr
epresentation of the extension's version."}, | |
| 22 "extensionDescription": {"type": "string", "description": "The extensi
on's description."} | |
| 23 } | |
| 24 }, | |
| 25 { | |
| 26 "id": "ChromeUpdate", | |
| 27 "type": "object", | |
| 28 "description": "The event to describe an update to Chrome; this will be
recognized on startup by a change in the version number.", | |
| 29 "properties": { | |
| 30 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
| 31 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
| 32 "previousVersion": {"type": "string", "description": "The string repre
sentation of the previous Chrome version."}, | |
| 33 "currentVersion": {"type": "string", "description": "The string repres
entation of the current Chrome version."} | |
| 34 } | |
| 35 }, | |
| 36 { | |
| 37 "id": "RendererFailure", | |
| 38 "type": "object", | |
| 39 "description": "The event to represent a renderer hanging, crashing, or
being killed.", | |
| 40 "properties": { | |
| 41 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
| 42 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
| 43 "url": {"type": "string", "description": "The url (or urls) associated
with the renderer failure, if available (if unavailable, this is empty)."} | |
| 44 } | |
| 45 }, | |
| 46 { | |
| 47 "id": "UncleanExit", | |
| 48 "type": "object", | |
| 49 "description": "The event to represent an unclean exit.", | |
| 50 "properties": { | |
| 51 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
| 52 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
| 53 "profileName": {"type": "string", "description": "The name of the prof
ile which shutdown uncleanly."} | |
| 54 } | |
| 55 } | |
| 56 ] | |
| 57 } | |
| 58 ] | |
| OLD | NEW |