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

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

Issue 154053004: Introducing the activityLogPrivate.deleteActivities() API call. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebasing Created 6 years, 10 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
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 "parameters": [ 73 "parameters": [
74 { 74 {
75 "name": "result", 75 "name": "result",
76 "$ref": "ActivityResultSet" 76 "$ref": "ActivityResultSet"
77 } 77 }
78 ] 78 ]
79 } 79 }
80 ] 80 ]
81 }, 81 },
82 { 82 {
83 "name": "deleteActivities",
84 "type": "function",
85 "description": "Deletes activities in the ActivityLog database specified in the array of activity IDs.",
86 "parameters": [
87 {
88 "name": "activityIds",
89 "type": "array",
90 "items": { "type": "string" },
91 "description": "Erases only the activities which IDs are listed in t he array."
92 }
93 ]
94 },
95 {
83 "name": "deleteDatabase", 96 "name": "deleteDatabase",
84 "type": "function", 97 "type": "function",
85 "description": "Deletes the entire ActivityLog database.", 98 "description": "Deletes the entire ActivityLog database.",
86 "parameters": [] 99 "parameters": []
87 }, 100 },
88 { 101 {
89 "name": "deleteUrls", 102 "name": "deleteUrls",
90 "type": "function", 103 "type": "function",
91 "description": "Delete URLs in the ActivityLog database.", 104 "description": "Delete URLs in the ActivityLog database.",
92 "parameters": [ 105 "parameters": [
(...skipping 15 matching lines...) Expand all
108 "parameters": [ 121 "parameters": [
109 { 122 {
110 "name": "activity", 123 "name": "activity",
111 "$ref": "ExtensionActivity" 124 "$ref": "ExtensionActivity"
112 } 125 }
113 ] 126 ]
114 } 127 }
115 ] 128 ]
116 } 129 }
117 ] 130 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698