| OLD | NEW |
| 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 Loading... |
| 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 ] |
| OLD | NEW |