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

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: Address Ben's comment. 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 known to be malicious."
4319 },
4320 "DANGER_CONTENT": {
4321 "type": "string",
4322 "value": "content",
4323 "description": "The download's content is malicious."
Randy Smith (Not in Mondays) 2011/11/16 18:04:04 Why the difference in wording? ("known to be" vs.
noelutz 2011/11/16 23:15:07 Done.
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 4879 matching lines...) Expand 10 before | Expand all | Expand 10 after
9208 } 9213 }
9209 } 9214 }
9210 } 9215 }
9211 ] 9216 ]
9212 } 9217 }
9213 ] 9218 ]
9214 } 9219 }
9215 ] 9220 ]
9216 } 9221 }
9217 ] 9222 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698