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

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: Cleaned up CountingPolicy::DoDeleteDatabase 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "name": "callback", 68 "name": "callback",
69 "type": "function", 69 "type": "function",
70 "parameters": [ 70 "parameters": [
71 { 71 {
72 "name": "result", 72 "name": "result",
73 "$ref": "ActivityResultSet" 73 "$ref": "ActivityResultSet"
74 } 74 }
75 ] 75 ]
76 } 76 }
77 ] 77 ]
78 },
79 {
80 "name": "deleteDatabase",
81 "type": "function",
82 "description": "Deletes the entire ActivityLog database.",
83 "parameters": []
84 },
85 {
86 "name": "deleteUrls",
87 "type": "function",
88 "description": "Delete URLs in the ActivityLog database.",
89 "parameters": [
90 {
91 "name": "urls",
92 "type": "array",
93 "items": { "type": "string" },
94 "description": "Erases only the URLs listed; if empty, erases all UR Ls.",
Matt Perry 2013/09/03 19:21:27 how is deleteUrls([]) different from deleteDatabas
felt 2013/09/03 19:55:35 deleteURLs erases only the URLs (either specific U
95 "optional": true
96 }
97 ]
78 } 98 }
79 ], 99 ],
80 "events": [ 100 "events": [
81 { 101 {
82 "name": "onExtensionActivity", 102 "name": "onExtensionActivity",
83 "type": "function", 103 "type": "function",
84 "description": "Fired when a given extension performs another activity." , 104 "description": "Fired when a given extension performs another activity." ,
85 "parameters": [ 105 "parameters": [
86 { 106 {
87 "name": "activity", 107 "name": "activity",
88 "$ref": "ExtensionActivity" 108 "$ref": "ExtensionActivity"
89 } 109 }
90 ] 110 ]
91 } 111 }
92 ] 112 ]
93 } 113 }
94 ] 114 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698