blob: 3b04c352e0c35089ea021c835353d7e3fcfeb6a8 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
{
"namespace": "events",
"description": "Performance monitor events",
"types": [
{
"id": "ExtensionEvent",
"type": "object",
"description": "The event to describe a significant occurrence with an extension in Chrome, including installation, uninstallation, enablement, disablement, and update.",
"properties": {
"eventType": {"type": "integer", "description": "The type of the event."},
"time": {"type": "number", "description": "The time at which the event was recorded."},
"extensionId": {"type": "string", "description": "The extension's id."},
"extensionName": {"type": "string", "description": "The extension's name."},
"extensionUrl": {"type": "string", "description": "The extension's url."},
"extensionLocation": {"type": "integer", "description": "The extension's install location."},
"extensionVersion": {"type": "string", "description": "The string reprepresentation of the extension's version."},
"extensionDescription": {"type": "string", "description": "The extension's description."}
}
},
{
"id": "ChromeUpdate",
"type": "object",
"description": "The event to describe an update to Chrome; this will be recognized on startup by a change in the version number.",
"properties": {
"eventType": {"type": "integer", "description": "The type of the event."},
"time": {"type": "number", "description": "The time at which the event was recorded."},
"previousVersion": {"type": "string", "description": "The string representation of the previous Chrome version."},
"currentVersion": {"type": "string", "description": "The string representation of the current Chrome version."}
}
},
{
"id": "RendererFailure",
"type": "object",
"description": "The event to represent a renderer hanging, crashing, or being killed.",
"properties": {
"eventType": {"type": "integer", "description": "The type of the event."},
"time": {"type": "number", "description": "The time at which the event was recorded."},
"url": {"type": "string", "description": "The url (or urls) associated with the renderer failure, if available (if unavailable, this is empty)."}
}
},
{
"id": "UncleanExit",
"type": "object",
"description": "The event to represent an unclean exit.",
"properties": {
"eventType": {"type": "integer", "description": "The type of the event."},
"time": {"type": "number", "description": "The time at which the event was recorded."},
"profileName": {"type": "string", "description": "The name of the profile which shutdown uncleanly."}
}
}
]
}
]