| 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": "events", | 7 "namespace": "events", |
| 8 "types": [ | 8 "types": [ |
| 9 { | 9 { |
| 10 "id": "ExtensionEvent", | 10 "id": "ExtensionEvent", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 "type": "object", | 26 "type": "object", |
| 27 "description": "The event to describe an update to Chrome; this will be
recognized on startup by a change in the version number.", | 27 "description": "The event to describe an update to Chrome; this will be
recognized on startup by a change in the version number.", |
| 28 "properties": { | 28 "properties": { |
| 29 "eventType": {"type": "integer", "description": "The type of the event
."}, | 29 "eventType": {"type": "integer", "description": "The type of the event
."}, |
| 30 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | 30 "time": {"type": "number", "description": "The time at which the event
was recorded."}, |
| 31 "previousVersion": {"type": "string", "description": "The string repre
sentation of the previous Chrome version."}, | 31 "previousVersion": {"type": "string", "description": "The string repre
sentation of the previous Chrome version."}, |
| 32 "currentVersion": {"type": "string", "description": "The string repres
entation of the current Chrome version."} | 32 "currentVersion": {"type": "string", "description": "The string repres
entation of the current Chrome version."} |
| 33 } | 33 } |
| 34 }, | 34 }, |
| 35 { | 35 { |
| 36 "id": "RendererCrash", | 36 "id": "RendererFailure", |
| 37 "type": "object", | 37 "type": "object", |
| 38 "description": "The event to represent a renderer crash.", | 38 "description": "The event to represent a renderer hanging, crashing, or
being killed.", |
| 39 "properties": { | 39 "properties": { |
| 40 "eventType": {"type": "integer", "description": "The type of the event
."}, | 40 "eventType": {"type": "integer", "description": "The type of the event
."}, |
| 41 "time": {"type": "number", "description": "The time at which the event
was recorded."} | 41 "time": {"type": "number", "description": "The time at which the event
was recorded."}, |
| 42 "url": {"type": "string", "description": "The url (or urls) associated
with the renderer failure, if available (if unavailable, this is empty)."} |
| 42 } | 43 } |
| 43 }, | 44 }, |
| 44 { | 45 { |
| 45 "id": "RendererFreeze", | |
| 46 "type": "object", | |
| 47 "description": "The event to represent a frozen renderer (when the froze
n tab popup comes up).", | |
| 48 "properties": { | |
| 49 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
| 50 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
| 51 "url": {"type": "string", "description": "The crash url."} | |
| 52 } | |
| 53 }, | |
| 54 { | |
| 55 "id": "UncleanExit", | 46 "id": "UncleanExit", |
| 56 "type": "object", | 47 "type": "object", |
| 57 "description": "The event to represent an unclean exit.", | 48 "description": "The event to represent an unclean exit.", |
| 58 "properties": { | 49 "properties": { |
| 59 "eventType": {"type": "integer", "description": "The type of the event
."}, | 50 "eventType": {"type": "integer", "description": "The type of the event
."}, |
| 60 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | 51 "time": {"type": "number", "description": "The time at which the event
was recorded."}, |
| 61 "profileName": {"type": "string", "description": "The name of the prof
ile which shutdown uncleanly."} | 52 "profileName": {"type": "string", "description": "The name of the prof
ile which shutdown uncleanly."} |
| 62 } | 53 } |
| 63 } | 54 } |
| 64 ] | 55 ] |
| 65 } | 56 } |
| 66 ] | 57 ] |
| OLD | NEW |