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

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: 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 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 1bc1538655f4f7e296ca8c8e30112b8e84da173e..4f336cc33159cf97a8268165c188608710c91900 100644
--- a/chrome/common/extensions/api/activity_log_private.json
+++ b/chrome/common/extensions/api/activity_log_private.json
@@ -67,6 +67,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.",
+ "optional": true
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698