Add extras for original url and referrer when launching activities for downloaded item

Desktop / Chromium - Min Qin [chromium.org] - 13 July 2017 18:36 EDT

For sucessfully downloaded items, add extras for origin and referrer when launching activities. This allows the security team to analyze malware data.

see b/63351122

TBR=mdjones@chromium.org

Bug: Change-Id: I9fb7d1df6fdce8bf6803723555270c7f36ac0637 Reviewed-on: https://chromium-review.googlesource.com/565653 Commit-Queue: Min Qin

16e2213 Add extras for original url and referrer when launching activities for downloaded item
.../download/DownloadBroadcastReceiver.java | 6 ++++-
.../browser/download/DownloadManagerService.java | 20 ++++++++++-----
.../download/DownloadNotificationService.java | 5 +++-
.../chrome/browser/download/DownloadUtils.java | 30 +++++++++++++++++++---
.../browser/download/SystemDownloadNotifier.java | 3 ++-
.../download/ui/DownloadHistoryItemWrapper.java | 5 ++--
.../browser/infobar/DuplicateDownloadInfoBar.java | 2 +-
.../SuggestionsNavigationDelegateImpl.java | 3 ++-
.../download/DownloadNotificationServiceTest.java | 12 ++++-----
.../download/MockDownloadNotificationService.java | 5 ++--
10 files changed, 66 insertions(+), 25 deletions(-)

Upstream: git.chromium.org


  • Share