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

Issue 8558029: Update download page to deal with new DANGEROUS_CONTENT state. (Closed)

Created:
9 years, 1 month ago by asanka
Modified:
9 years, 1 month ago
CC:
chromium-reviews, asanka, arv (Not doing code reviews), Randy Smith (Not in Mondays), rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Update download page to deal with new DANGEROUS_CONTENT state. Downloads that are flagged as malicious based on content will have a danger type of DANGEROUS_CONTENT. BUG=102540 TEST=Downloading something flagged as malicious by the SafeBrowsing service shows a warning dialog in the downloads page. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111051

Patch Set 1 #

Patch Set 2 : Also active_downloads.js #

Total comments: 8

Patch Set 3 : " #

Patch Set 4 : " #

Total comments: 4

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -4 lines) Patch
M chrome/browser/download/download_util.cc View 1 2 3 4 2 chunks +29 lines, -3 lines 0 comments Download
M chrome/browser/resources/active_downloads.js View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/downloads.js View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
asanka
Should we go ahead and update strings here? Otherwise we don't need to downloads.js.
9 years, 1 month ago (2011-11-18 23:17:08 UTC) #1
noelutz
On 2011/11/18 23:17:08, asanka wrote: > Should we go ahead and update strings here? Otherwise ...
9 years, 1 month ago (2011-11-18 23:21:31 UTC) #2
asanka
[+rdsmith as well] I added active_downloads.js. These two are the consumers of CreateDownloadItemValue()'s output.
9 years, 1 month ago (2011-11-18 23:59:36 UTC) #3
Randy Smith (Not in Mondays)
Exploding the reviewers: Adding Ben for downloads.js (I think of him as the owner of ...
9 years, 1 month ago (2011-11-21 01:18:14 UTC) #4
Randy Smith (Not in Mondays)
Argh. Let's try that again, thsi time with real reviewer edits :-J. Exploding the reviewers: ...
9 years, 1 month ago (2011-11-21 01:19:02 UTC) #5
benjhayden
http://codereview.chromium.org/8558029/diff/4001/chrome/browser/resources/active_downloads.js File chrome/browser/resources/active_downloads.js (right): http://codereview.chromium.org/8558029/diff/4001/chrome/browser/resources/active_downloads.js#newcode386 chrome/browser/resources/active_downloads.js:386: dangerText = localStrings.getString('dangerousurl'); Do we not want a different ...
9 years, 1 month ago (2011-11-21 16:21:55 UTC) #6
asanka
http://codereview.chromium.org/8558029/diff/4001/chrome/browser/download/download_util.cc File chrome/browser/download/download_util.cc (right): http://codereview.chromium.org/8558029/diff/4001/chrome/browser/download/download_util.cc#newcode100 chrome/browser/download/download_util.cc:100: // MAYBE_DANGEROUS_CONTENT. On 2011/11/21 01:18:15, rdsmith wrote: > For ...
9 years, 1 month ago (2011-11-21 17:08:57 UTC) #7
noelutz
http://codereview.chromium.org/8558029/diff/4001/chrome/browser/resources/active_downloads.js File chrome/browser/resources/active_downloads.js (right): http://codereview.chromium.org/8558029/diff/4001/chrome/browser/resources/active_downloads.js#newcode386 chrome/browser/resources/active_downloads.js:386: dangerText = localStrings.getString('dangerousurl'); On 2011/11/21 17:08:57, asanka wrote: > ...
9 years, 1 month ago (2011-11-21 18:17:52 UTC) #8
benjhayden
LGTM
9 years, 1 month ago (2011-11-21 18:20:40 UTC) #9
achuithb
Do we have a test for the situation Randy describes (even a manual test) - ...
9 years, 1 month ago (2011-11-21 21:34:36 UTC) #10
asanka
Thanks for the reviews! http://codereview.chromium.org/8558029/diff/7003/chrome/browser/download/download_util.cc File chrome/browser/download/download_util.cc (right): http://codereview.chromium.org/8558029/diff/7003/chrome/browser/download/download_util.cc#newcode102 chrome/browser/download/download_util.cc:102: // NOT_DANGEROUS or MAYBE_DANGEROUS_CONTENT. On ...
9 years, 1 month ago (2011-11-21 22:46:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/8558029/18001
9 years, 1 month ago (2011-11-21 23:10:19 UTC) #12
commit-bot: I haz the power
9 years, 1 month ago (2011-11-22 00:20:44 UTC) #13
Change committed as 111051

Powered by Google App Engine
This is Rietveld 408576698