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

Issue 12313141: Use DownloadItem directly in DownloadProtectionService. (Closed)

Created:
7 years, 9 months ago by mattm
Modified:
7 years, 9 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Use DownloadItem directly in DownloadProtectionService. BUG=169557 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185748

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : win compile fixes #

Patch Set 4 : Fix ChromeDownloadManagerDelegateTest hangs #

Patch Set 5 : win unit_tests fixes #

Total comments: 4

Patch Set 6 : review changes #

Total comments: 7

Patch Set 7 : review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -319 lines) Patch
M chrome/browser/download/chrome_download_manager_delegate.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate_unittest.cc View 1 2 3 5 chunks +8 lines, -14 lines 0 comments Download
M chrome/browser/download/download_shelf_context_menu.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.h View 3 chunks +5 lines, -23 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.cc View 1 2 3 4 5 6 29 chunks +129 lines, -147 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 1 2 3 4 5 6 28 chunks +263 lines, -125 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mattm
There was discussion of doing this a while back on https://codereview.chromium.org/8345033/. I am making the ...
7 years, 9 months ago (2013-02-27 01:46:19 UTC) #1
asanka
/download/ LGTM. Thanks for doing this! https://codereview.chromium.org/12313141/diff/9005/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/12313141/diff/9005/chrome/browser/safe_browsing/download_protection_service.cc#newcode379 chrome/browser/safe_browsing/download_protection_service.cc:379: Cancel(); Nit: DCHECK(item_ ...
7 years, 9 months ago (2013-02-27 18:06:43 UTC) #2
mattm
https://codereview.chromium.org/12313141/diff/9005/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/12313141/diff/9005/chrome/browser/safe_browsing/download_protection_service.cc#newcode379 chrome/browser/safe_browsing/download_protection_service.cc:379: Cancel(); On 2013/02/27 18:06:43, asanka wrote: > Nit: DCHECK(item_ ...
7 years, 9 months ago (2013-02-28 01:33:06 UTC) #3
noelutz
LG overall. Just some threading questions. noé. https://codereview.chromium.org/12313141/diff/18001/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/12313141/diff/18001/chrome/browser/safe_browsing/download_protection_service.cc#newcode474 chrome/browser/safe_browsing/download_protection_service.cc:474: base::Bind(&CheckClientDownloadRequest::CheckWhitelists, this)); ...
7 years, 9 months ago (2013-03-01 20:12:28 UTC) #4
mattm
https://codereview.chromium.org/12313141/diff/18001/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/12313141/diff/18001/chrome/browser/safe_browsing/download_protection_service.cc#newcode474 chrome/browser/safe_browsing/download_protection_service.cc:474: base::Bind(&CheckClientDownloadRequest::CheckWhitelists, this)); On 2013/03/01 20:12:28, noelutz wrote: > this ...
7 years, 9 months ago (2013-03-01 22:13:20 UTC) #5
noelutz
lgtm Nice cleanup! noé. https://codereview.chromium.org/12313141/diff/18001/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/12313141/diff/18001/chrome/browser/safe_browsing/download_protection_service.cc#newcode613 chrome/browser/safe_browsing/download_protection_service.cc:613: RecordImprovedProtectionStats(REASON_REQUEST_CANCELED); nice catch.
7 years, 9 months ago (2013-03-01 22:24:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/12313141/20017
7 years, 9 months ago (2013-03-01 22:31:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/12313141/20017
7 years, 9 months ago (2013-03-02 16:06:56 UTC) #8
commit-bot: I haz the power
7 years, 9 months ago (2013-03-02 18:51:14 UTC) #9
Message was sent while issue was closed.
Change committed as 185748

Powered by Google App Engine
This is Rietveld 408576698