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

Issue 2314903003: Improve download recovery flow: (Closed)

Created:
4 years, 3 months ago by Jialiu Lin
Modified:
4 years, 3 months ago
CC:
arv+watch_chromium.org, asanka, chromium-reviews, dbeam+watch-downloads_chromium.org, emilyschechter, michaelpg+watch-md-ui_chromium.org, Nathan Parker, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve download recovery flow: (1) refine strings in download recovery dialog (2) remove all message leads, and keep title and message body to simply previously lengthy text in download recovery dialog (3) refine description strings that used to explain the reason why download is blocked in chrome://downloads (text in orange) (4) If download danger type is DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE, when user try to recover a blocked download, directly proceed instead of showing download danger prompt. go/fix_download_recovery for more detail BUG=640673 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/f857966ed00a2e7703f98f901d28ae3677592341 Cr-Commit-Position: refs/heads/master@{#418340}

Patch Set 1 #

Patch Set 2 : fix unit_tests #

Total comments: 10

Patch Set 3 : address dbeam's comments #

Total comments: 6

Patch Set 4 : address asanka@'s comments #

Total comments: 4

Patch Set 5 : nit #

Total comments: 7

Patch Set 6 : address grt@'s comments #

Total comments: 4

Patch Set 7 : address final nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -127 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 2 chunks +20 lines, -19 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/download/download_danger_prompt.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_downloads/crisper.js View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/resources/md_downloads/item.js View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc View 1 2 3 4 3 chunks +9 lines, -30 lines 0 comments Download
M chrome/browser/ui/views/download/download_danger_prompt_views.cc View 1 2 3 4 6 chunks +18 lines, -50 lines 0 comments Download
M chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.h View 1 2 4 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.cc View 1 2 3 chunks +30 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler_unittest.cc View 1 2 2 chunks +39 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc View 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
Jialiu Lin
Hi cpu@, Could you take a look at all the string changes in chrome/app/*? This ...
4 years, 3 months ago (2016-09-06 20:00:53 UTC) #9
Jialiu Lin
+dbean@, Hi dbean@, Could you take a look at files under chrome/browser/resources/md_downloads/ and chrome/browser/ui/webui/md_downloads directories ...
4 years, 3 months ago (2016-09-07 17:41:23 UTC) #11
Dan Beam
lgtm https://codereview.chromium.org/2314903003/diff/20001/chrome/browser/resources/md_downloads/item.js File chrome/browser/resources/md_downloads/item.js (right): https://codereview.chromium.org/2314903003/diff/20001/chrome/browser/resources/md_downloads/item.js#newcode147 chrome/browser/resources/md_downloads/item.js:147: return loadTimeData.getStringF('dangerFileDesc'); getStringF -> getString https://codereview.chromium.org/2314903003/diff/20001/chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.cc File chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.cc ...
4 years, 3 months ago (2016-09-08 02:31:28 UTC) #12
Jialiu Lin
Thanks dbeam@! +asanka@, Could you take a look at the changes in chrome/browser/download/* and chrome/browser/ui/cocoa/download/*? ...
4 years, 3 months ago (2016-09-08 18:40:20 UTC) #14
asanka
LGTM % nits https://codereview.chromium.org/2314903003/diff/40001/chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc File chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc (left): https://codereview.chromium.org/2314903003/diff/40001/chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc#oldcode204 chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc:204: return l10n_util::GetStringUTF16(IDS_CONFIRM_DOWNLOAD_AGAIN_MALICIOUS); Here and elsewhere, could ...
4 years, 3 months ago (2016-09-08 21:17:14 UTC) #15
Jialiu Lin
Thanks, asanka@! Your comments are all addressed. + msw@, Could you take a look at ...
4 years, 3 months ago (2016-09-08 23:15:23 UTC) #17
msw
c/b/ui/views lgtm with nits https://codereview.chromium.org/2314903003/diff/60001/chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc File chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc (right): https://codereview.chromium.org/2314903003/diff/60001/chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc#newcode198 chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc:198: switch (download_->GetDangerType()) { nit: this ...
4 years, 3 months ago (2016-09-08 23:33:57 UTC) #18
Jialiu Lin
Thanks for catching these, msw@. Nits fixed. cpu@, any feedback on these *grd files? Please ...
4 years, 3 months ago (2016-09-09 00:17:46 UTC) #19
msw
On 2016/09/09 00:17:46, Jialiu Lin wrote: > cpu@, any feedback on these *grd files? Please ...
4 years, 3 months ago (2016-09-09 00:35:15 UTC) #20
Jialiu Lin
+grt@, could you take a look at changes in these *.grd? Thanks!
4 years, 3 months ago (2016-09-09 00:39:38 UTC) #23
grt (UTC plus 2)
https://codereview.chromium.org/2314903003/diff/80001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): https://codereview.chromium.org/2314903003/diff/80001/chrome/app/chromium_strings.grd#newcode560 chrome/app/chromium_strings.grd:560: desc="Message shown to the user on chrome://downloads page to ...
4 years, 3 months ago (2016-09-12 06:44:50 UTC) #24
Jialiu Lin
Thanks, grt@! string descriptions updated. https://codereview.chromium.org/2314903003/diff/80001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): https://codereview.chromium.org/2314903003/diff/80001/chrome/app/chromium_strings.grd#newcode560 chrome/app/chromium_strings.grd:560: desc="Message shown to the ...
4 years, 3 months ago (2016-09-12 20:39:07 UTC) #25
grt (UTC plus 2)
.grd files lgtm w/ nits https://codereview.chromium.org/2314903003/diff/80001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2314903003/diff/80001/chrome/app/generated_resources.grd#newcode1777 chrome/app/generated_resources.grd:1777: + Even if you ...
4 years, 3 months ago (2016-09-13 06:35:49 UTC) #26
Jialiu Lin
Thanks or catching these, grt@! Thanks all reviewers for your thorough review! https://codereview.chromium.org/2314903003/diff/100001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd ...
4 years, 3 months ago (2016-09-13 17:36:24 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2314903003/120001
4 years, 3 months ago (2016-09-13 19:37:40 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-13 19:43:36 UTC) #35
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 19:47:06 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f857966ed00a2e7703f98f901d28ae3677592341
Cr-Commit-Position: refs/heads/master@{#418340}

Powered by Google App Engine
This is Rietveld 408576698