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

Issue 2437623003: Use native implementation of dangerous download infobar (Closed)

Created:
4 years, 2 months ago by qinmin
Modified:
4 years, 1 month ago
Reviewers:
gone
CC:
chromium-reviews, asanka, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use native implementation of dangerous download infobar Currently the dangerous download infobar is implemented in java. This is because some of the download is intercepted by Android DownloadManager previously. When all the download are handled by native, we should use native infobar implementation. The only exception is OMA DRM download, but those files are not considered dangerous. BUG=654048 Committed: https://crrev.com/ad5764a975c7b084009ba19ed7c95a393b8b3b23 Cr-Commit-Position: refs/heads/master@{#427428}

Patch Set 1 #

Total comments: 2

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -179 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/download/ChromeDownloadDelegate.java View 6 chunks +4 lines, -84 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java View 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/download/chrome_download_delegate.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/android/download/chrome_download_delegate.cc View 2 chunks +0 lines, -24 lines 0 comments Download
A chrome/browser/android/download/dangerous_download_infobar_delegate.h View 1 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/android/download/dangerous_download_infobar_delegate.cc View 1 1 chunk +77 lines, -0 lines 0 comments Download
M chrome/browser/android/download/download_controller.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/android/download/download_controller.cc View 4 chunks +13 lines, -23 lines 0 comments Download
M chrome/browser/android/download/download_controller_base.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/android/download/mock_download_controller.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/android/download/mock_download_controller.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
qinmin
PTAL
4 years, 2 months ago (2016-10-20 22:31:35 UTC) #4
gone
lgtm https://codereview.chromium.org/2437623003/diff/40001/chrome/browser/android/download/dangerous_download_infobar_delegate.cc File chrome/browser/android/download/dangerous_download_infobar_delegate.cc (right): https://codereview.chromium.org/2437623003/diff/40001/chrome/browser/android/download/dangerous_download_infobar_delegate.cc#newcode69 chrome/browser/android/download/dangerous_download_infobar_delegate.cc:69: if (download_item_) { nit: do you need braces ...
4 years, 1 month ago (2016-10-24 18:08:56 UTC) #5
qinmin
https://codereview.chromium.org/2437623003/diff/40001/chrome/browser/android/download/dangerous_download_infobar_delegate.cc File chrome/browser/android/download/dangerous_download_infobar_delegate.cc (right): https://codereview.chromium.org/2437623003/diff/40001/chrome/browser/android/download/dangerous_download_infobar_delegate.cc#newcode69 chrome/browser/android/download/dangerous_download_infobar_delegate.cc:69: if (download_item_) { On 2016/10/24 18:08:56, dfalcantara (slow 10.24) ...
4 years, 1 month ago (2016-10-24 23:35:30 UTC) #6
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/2437623003/60001
4 years, 1 month ago (2016-10-25 17:38:56 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 1 month ago (2016-10-25 18:55:09 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 19:09:23 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ad5764a975c7b084009ba19ed7c95a393b8b3b23
Cr-Commit-Position: refs/heads/master@{#427428}

Powered by Google App Engine
This is Rietveld 408576698