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

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

Issue 8468020: Propagate the SafeBrowsing download protection verdict to the DownloadItem. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "MessageSender", 6 "id": "MessageSender",
7 "type": "object", 7 "type": "object",
8 "description": "An object containing information about the script contex t that sent a message or request.", 8 "description": "An object containing information about the script contex t that sent a message or request.",
9 "properties": { 9 "properties": {
10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."}, 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."},
(...skipping 4297 matching lines...) Expand 10 before | Expand all | Expand 10 after
4308 "description": "The file has been determined to present no known danger to the user's computer." 4308 "description": "The file has been determined to present no known danger to the user's computer."
4309 }, 4309 },
4310 "DANGER_FILE": { 4310 "DANGER_FILE": {
4311 "type": "string", 4311 "type": "string",
4312 "value": "file", 4312 "value": "file",
4313 "description": "The download's filename is suspicious." 4313 "description": "The download's filename is suspicious."
4314 }, 4314 },
4315 "DANGER_URL": { 4315 "DANGER_URL": {
4316 "type": "string", 4316 "type": "string",
4317 "value": "url", 4317 "value": "url",
4318 "description": "The download's URL is suspicious." 4318 "description": "The download's URL is malicious."
Mihai Parparita -not on Chrome 2011/11/17 20:30:25 Is the change to "malicious" here but the keeping
noelutz 2011/11/17 21:25:16 It is. DANGER_FILE == filename is suspicious. E.g
4319 },
4320 "DANGER_CONTENT": {
4321 "type": "string",
4322 "value": "content",
4323 "description": "The download's content is malicious."
4319 } 4324 }
4320 }, 4325 },
4321 "types": [ 4326 "types": [
4322 { 4327 {
4323 "id": "DownloadItem", 4328 "id": "DownloadItem",
4324 "type": "object", 4329 "type": "object",
4325 "description": "The state of a file as it is downloaded from the interne t.", 4330 "description": "The state of a file as it is downloaded from the interne t.",
4326 "properties": { 4331 "properties": {
4327 "id": { 4332 "id": {
4328 "type": "integer", 4333 "type": "integer",
(...skipping 4885 matching lines...) Expand 10 before | Expand all | Expand 10 after
9214 } 9219 }
9215 } 9220 }
9216 } 9221 }
9217 ] 9222 ]
9218 } 9223 }
9219 ] 9224 ]
9220 } 9225 }
9221 ] 9226 ]
9222 } 9227 }
9223 ] 9228 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view.cc ('k') | content/browser/download/download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698