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

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

Issue 23629015: Add deletion to the activityLogPrivate API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Undoing last commit 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
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "name": "callback", 60 "name": "callback",
61 "type": "function", 61 "type": "function",
62 "parameters": [ 62 "parameters": [
63 { 63 {
64 "name": "result", 64 "name": "result",
65 "$ref": "ActivityResultSet" 65 "$ref": "ActivityResultSet"
66 } 66 }
67 ] 67 ]
68 } 68 }
69 ] 69 ]
70 },
71 {
72 "name": "deleteDatabase",
73 "type": "function",
74 "description": "Deletes the entire ActivityLog database.",
75 "parameters": []
76 },
77 {
78 "name": "deleteUrls",
79 "type": "function",
80 "description": "Delete URLs in the ActivityLog database.",
81 "parameters": [
82 {
83 "name": "urls",
84 "type": "array",
85 "items": { "type": "string" },
86 "description": "Erases only the URLs listed; if empty, erases all UR Ls.",
87 "optional": true
88 }
89 ]
70 } 90 }
71 ], 91 ],
72 "events": [ 92 "events": [
73 { 93 {
74 "name": "onExtensionActivity", 94 "name": "onExtensionActivity",
75 "type": "function", 95 "type": "function",
76 "description": "Fired when a given extension performs another activity." , 96 "description": "Fired when a given extension performs another activity." ,
77 "parameters": [ 97 "parameters": [
78 { 98 {
79 "name": "activity", 99 "name": "activity",
80 "$ref": "ExtensionActivity" 100 "$ref": "ExtensionActivity"
81 } 101 }
82 ] 102 ]
83 } 103 }
84 ] 104 ]
85 } 105 }
86 ] 106 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698