OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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": "activityLogPrivate", | 7 "namespace": "activityLogPrivate", |
8 "description": "none", | 8 "description": "none", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 15 matching lines...) Expand all Loading... |
26 }, | 26 }, |
27 { | 27 { |
28 "id": "Filter", | 28 "id": "Filter", |
29 "type": "object", | 29 "type": "object", |
30 "description": "Used to specify values for a lookup.", | 30 "description": "Used to specify values for a lookup.", |
31 "properties": { | 31 "properties": { |
32 "extensionId": {"type": "string", "optional": true, "description": "Ex
act match"}, | 32 "extensionId": {"type": "string", "optional": true, "description": "Ex
act match"}, |
33 "activityType": {"type": "string", "enum": ["api_call", "api_event", "
content_script", "dom_access", "dom_event", "web_request", "any"], "description"
: "Exact match or any"}, | 33 "activityType": {"type": "string", "enum": ["api_call", "api_event", "
content_script", "dom_access", "dom_event", "web_request", "any"], "description"
: "Exact match or any"}, |
34 "apiCall": {"type": "string", "optional": true, "description": "Exact
match"}, | 34 "apiCall": {"type": "string", "optional": true, "description": "Exact
match"}, |
35 "pageUrl": {"type": "string", "optional": true, "description": "Treate
d as a prefix"}, | 35 "pageUrl": {"type": "string", "optional": true, "description": "Treate
d as a prefix"}, |
36 "argUrl": {"type": "string", "optional": true, "description": "Treated
as a prefix"} | 36 "argUrl": {"type": "string", "optional": true, "description": "Treated
as a prefix"}, |
| 37 "daysAgo": {"type": "integer", "optional": true, "description": "Used
to lookup a precise day; today is 0"} |
37 } | 38 } |
38 }, | 39 }, |
39 { | 40 { |
40 "id": "ActivityResultSet", | 41 "id": "ActivityResultSet", |
41 "type": "object", | 42 "type": "object", |
42 "description": "This holds the results of a lookup, the filter of the lo
okup, the time of the lookup, and whether there are more results that match.", | 43 "description": "This holds the results of a lookup, the filter of the lo
okup, the time of the lookup, and whether there are more results that match.", |
43 "properties": { | 44 "properties": { |
44 "activities": {"type": "array", "items": {"$ref": "ExtensionActivity"}
} | 45 "activities": {"type": "array", "items": {"$ref": "ExtensionActivity"}
} |
45 } | 46 } |
46 } | 47 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "parameters": [ | 98 "parameters": [ |
98 { | 99 { |
99 "name": "activity", | 100 "name": "activity", |
100 "$ref": "ExtensionActivity" | 101 "$ref": "ExtensionActivity" |
101 } | 102 } |
102 ] | 103 ] |
103 } | 104 } |
104 ] | 105 ] |
105 } | 106 } |
106 ] | 107 ] |
OLD | NEW |