summaryrefslogtreecommitdiffstats
path: root/chrome/browser/performance_monitor/events.json
blob: 3b04c352e0c35089ea021c835353d7e3fcfeb6a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// 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."}
        }
      }
    ]
  }
]