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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/activity_log_private.json
diff --git a/chrome/common/extensions/api/activity_log_private.json b/chrome/common/extensions/api/activity_log_private.json
index 6dcea692933d7bfaa1b2cc7d4ce840dd09ddf9dc..b9fcaf1d17af40dc05803a0156ff4b5417b02f9d 100644
--- a/chrome/common/extensions/api/activity_log_private.json
+++ b/chrome/common/extensions/api/activity_log_private.json
@@ -75,6 +75,26 @@
]
}
]
+ },
+ {
+ "name": "deleteDatabase",
+ "type": "function",
+ "description": "Deletes the entire ActivityLog database.",
+ "parameters": []
+ },
+ {
+ "name": "deleteUrls",
+ "type": "function",
+ "description": "Delete URLs in the ActivityLog database.",
+ "parameters": [
+ {
+ "name": "urls",
+ "type": "array",
+ "items": { "type": "string" },
+ "description": "Erases only the URLs listed; if empty, erases all URLs.",
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
+ "optional": true
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698