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": "Exact match; today is 0"} | |
Matt Perry
2013/09/05 20:18:35
Does this fetch the entries added exactly <daysAgo
| |
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 "maxTime": {"type": "integer", "optional": true}, | 46 "maxTime": {"type": "integer", "optional": true}, |
46 "moreResults": {"type": "boolean"} | 47 "moreResults": {"type": "boolean"} |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
85 "parameters": [ | 86 "parameters": [ |
86 { | 87 { |
87 "name": "activity", | 88 "name": "activity", |
88 "$ref": "ExtensionActivity" | 89 "$ref": "ExtensionActivity" |
89 } | 90 } |
90 ] | 91 ] |
91 } | 92 } |
92 ] | 93 ] |
93 } | 94 } |
94 ] | 95 ] |
OLD | NEW |