Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/common/extensions/api/activity_log_private.json

Issue 23874008: Added memory limit for chrome.activityLogPrivate returned results (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 23 matching lines...) Expand all
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 } 37 }
38 }, 38 },
39 { 39 {
40 "id": "ActivityResultSet", 40 "id": "ActivityResultSet",
41 "type": "object", 41 "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.", 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 "properties": { 43 "properties": {
44 "activities": {"type": "array", "items": {"$ref": "ExtensionActivity"} }, 44 "activities": {"type": "array", "items": {"$ref": "ExtensionActivity"} }
45 "maxTime": {"type": "integer", "optional": true},
46 "moreResults": {"type": "boolean"}
47 } 45 }
48 } 46 }
49 ], 47 ],
50 "functions": [ 48 "functions": [
51 { 49 {
52 "name": "getExtensionActivities", 50 "name": "getExtensionActivities",
53 "type": "function", 51 "type": "function",
54 "description": "Retrieves activity from the ActivityLog that matches the specified filter.", 52 "description": "Retrieves activity from the ActivityLog that matches the specified filter.",
55 "parameters": [ 53 "parameters": [
56 { 54 {
57 "name": "filter", 55 "name": "filter",
58 "$ref": "Filter", 56 "$ref": "Filter",
59 "description": "Fill out the fields that you want to search for in t he database." 57 "description": "Fill out the fields that you want to search for in t he database."
60 }, 58 },
61 { 59 {
62 "name": "maxTime",
63 "type": "integer",
64 "optional": true,
65 "description": "Specify this if you want results that weren't availa ble in the first page."
66 },
67 {
68 "name": "callback", 60 "name": "callback",
69 "type": "function", 61 "type": "function",
70 "parameters": [ 62 "parameters": [
71 { 63 {
72 "name": "result", 64 "name": "result",
73 "$ref": "ActivityResultSet" 65 "$ref": "ActivityResultSet"
74 } 66 }
75 ] 67 ]
76 } 68 }
77 ] 69 ]
78 } 70 }
79 ], 71 ],
80 "events": [ 72 "events": [
81 { 73 {
82 "name": "onExtensionActivity", 74 "name": "onExtensionActivity",
83 "type": "function", 75 "type": "function",
84 "description": "Fired when a given extension performs another activity." , 76 "description": "Fired when a given extension performs another activity." ,
85 "parameters": [ 77 "parameters": [
86 { 78 {
87 "name": "activity", 79 "name": "activity",
88 "$ref": "ExtensionActivity" 80 "$ref": "ExtensionActivity"
89 } 81 }
90 ] 82 ]
91 } 83 }
92 ] 84 ]
93 } 85 }
94 ] 86 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698