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": "ExtensionInstall", | 10 "id": "ExtensionEvent", |
11 "type": "object", | 11 "type": "object", |
12 "description": "The event to describe the installation of an extension i
n Chrome.", | 12 "description": "The event to describe a significant occurence with an ex
tension in Chrome, including installation, uninstallation, enablement, disableme
nt, and update.", |
13 "properties": { | 13 "properties": { |
14 "eventType": {"type": "integer", "description": "The type of the event
."}, | 14 "eventType": {"type": "integer", "description": "The type of the event
."}, |
15 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | 15 "time": {"type": "number", "description": "The time at which the event
was recorded."}, |
16 "extensionId": {"type": "string", "description": "The extension's id."
}, | |
17 "extensionName": {"type": "string", "description": "The extension's na
me."}, | |
18 "extensionUrl": {"type": "string", "description": "The extension's url
."}, | |
19 "extensionLocation": {"type": "integer", "description": "The extension
's install location."}, | |
20 "extensionVersion": {"type": "string", "description": "The string repr
epresentation of the extension's version."}, | |
21 "extensionDescription": {"type": "string", "description": "The extensi
on's description."} | |
22 } | |
23 }, | |
24 { | |
25 "id": "ExtensionUnload", | |
26 "type": "object", | |
27 "description": "The event to describe the unloading of an extension in C
hrome.", | |
28 "properties": { | |
29 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
30 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
31 "extensionId": {"type": "string", "description": "The extension's id."
}, | |
32 "extensionName": {"type": "string", "description": "The extension's na
me."}, | |
33 "extensionUrl": {"type": "string", "description": "The extension's url
."}, | |
34 "extensionLocation": {"type": "integer", "description": "The extension
's install location."}, | |
35 "extensionVersion": {"type": "string", "description": "The string repr
epresentation of the extension's version."}, | |
36 "extensionDescription": {"type": "string", "description": "The extensi
on's description."}, | |
37 "unloadReason": {"type": "integer", "description": "The type of unload
performed."} | |
38 } | |
39 }, | |
40 { | |
41 "id": "ExtensionUninstall", | |
42 "type": "object", | |
43 "description": "The event to describe the uninstallation of an extension
in Chrome.", | |
44 "properties": { | |
45 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
46 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
47 "extensionId": {"type": "string", "description": "The extension's id."
}, | |
48 "extensionName": {"type": "string", "description": "The extension's na
me."}, | |
49 "extensionUrl": {"type": "string", "description": "The extension's url
."}, | |
50 "extensionLocation": {"type": "integer", "description": "The extension
's install location."}, | |
51 "extensionVersion": {"type": "string", "description": "The string repr
epresentation of the extension's version."}, | |
52 "extensionDescription": {"type": "string", "description": "The extensi
on's description."} | |
53 } | |
54 }, | |
55 { | |
56 "id": "ExtensionEnable", | |
57 "type": "object", | |
58 "description": "The event to describe the uninstallation of an extension
in Chrome.", | |
59 "properties": { | |
60 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
61 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
62 "extensionId": {"type": "string", "description": "The extension's id."
}, | |
63 "extensionName": {"type": "string", "description": "The extension's na
me."}, | |
64 "extensionUrl": {"type": "string", "description": "The extension's url
."}, | |
65 "extensionLocation": {"type": "integer", "description": "The extension
's install location."}, | |
66 "extensionVersion": {"type": "string", "description": "The string repr
epresentation of the extension's version."}, | |
67 "extensionDescription": {"type": "string", "description": "The extensi
on's description."} | |
68 } | |
69 }, | |
70 { | |
71 "id": "ExtensionUpdate", | |
72 "type": "object", | |
73 "description": "The event to describe the uninstallation of an extension
in Chrome.", | |
74 "properties": { | |
75 "eventType": {"type": "integer", "description": "The type of the event
."}, | |
76 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | |
77 "extensionId": {"type": "string", "description": "The extension's id."
}, | 16 "extensionId": {"type": "string", "description": "The extension's id."
}, |
78 "extensionName": {"type": "string", "description": "The extension's na
me."}, | 17 "extensionName": {"type": "string", "description": "The extension's na
me."}, |
79 "extensionUrl": {"type": "string", "description": "The extension's url
."}, | 18 "extensionUrl": {"type": "string", "description": "The extension's url
."}, |
80 "extensionLocation": {"type": "integer", "description": "The extension
's install location."}, | 19 "extensionLocation": {"type": "integer", "description": "The extension
's install location."}, |
81 "extensionVersion": {"type": "string", "description": "The string repr
epresentation of the extension's version."}, | 20 "extensionVersion": {"type": "string", "description": "The string repr
epresentation of the extension's version."}, |
82 "extensionDescription": {"type": "string", "description": "The extensi
on's description."} | 21 "extensionDescription": {"type": "string", "description": "The extensi
on's description."} |
83 } | 22 } |
84 }, | 23 }, |
85 { | 24 { |
86 "id": "ChromeUpdate", | 25 "id": "ChromeUpdate", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 "description": "The event to represent an unclean exit.", | 57 "description": "The event to represent an unclean exit.", |
119 "properties": { | 58 "properties": { |
120 "eventType": {"type": "integer", "description": "The type of the event
."}, | 59 "eventType": {"type": "integer", "description": "The type of the event
."}, |
121 "time": {"type": "number", "description": "The time at which the event
was recorded."}, | 60 "time": {"type": "number", "description": "The time at which the event
was recorded."}, |
122 "profileName": {"type": "string", "description": "The name of the prof
ile which shutdown uncleanly."} | 61 "profileName": {"type": "string", "description": "The name of the prof
ile which shutdown uncleanly."} |
123 } | 62 } |
124 } | 63 } |
125 ] | 64 ] |
126 } | 65 } |
127 ] | 66 ] |
OLD | NEW |