OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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": "experimental.downloads", | 7 "namespace": "experimental.downloads", |
8 "events": [ | 8 "events": [ |
9 { | 9 { |
10 "name": "onCreated", | 10 "name": "onCreated", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 "description": "An identifier that is persistent across browser sess
ions." | 135 "description": "An identifier that is persistent across browser sess
ions." |
136 }, | 136 }, |
137 "url": { | 137 "url": { |
138 "type": "string", | 138 "type": "string", |
139 "description": "absolute URL" | 139 "description": "absolute URL" |
140 }, | 140 }, |
141 "filename": { | 141 "filename": { |
142 "type": "string", | 142 "type": "string", |
143 "description": "absolute local path" | 143 "description": "absolute local path" |
144 }, | 144 }, |
| 145 "incognito": { |
| 146 "type": "boolean", |
| 147 "description": "False if this download is recorded in the history, t
rue if it is not recorded.", |
| 148 "optional": true |
| 149 }, |
145 "danger": { | 150 "danger": { |
146 "$ref": "DownloadDangerType", | 151 "$ref": "DownloadDangerType", |
147 "description": "Indication of whether this download is thought to be
safe or known to be suspicious.", | 152 "description": "Indication of whether this download is thought to be
safe or known to be suspicious.", |
148 "optional": true | 153 "optional": true |
149 }, | 154 }, |
150 "dangerAccepted": { | 155 "dangerAccepted": { |
151 "type": "boolean", | 156 "type": "boolean", |
152 "description": "true if the user has accepted the download's danger.
", | 157 "description": "true if the user has accepted the download's danger.
", |
153 "optional": true | 158 "optional": true |
154 }, | 159 }, |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 "type": "string", | 657 "type": "string", |
653 "description": "A URL to an image that represents the download.
If a file icon cannot be determined, chrome.extension.lastError will contain an
error message." | 658 "description": "A URL to an image that represents the download.
If a file icon cannot be determined, chrome.extension.lastError will contain an
error message." |
654 } | 659 } |
655 ] | 660 ] |
656 } | 661 } |
657 ] | 662 ] |
658 } | 663 } |
659 ] | 664 ] |
660 } | 665 } |
661 ] | 666 ] |
OLD | NEW |