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

Issue 8536041: This CL integrates the new SafeBrowsing download service class (Closed)

Created:
9 years, 1 month ago by noelutz
Modified:
8 years, 11 months ago
CC:
chromium-reviews, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

This CL integrates the new SafeBrowsing download service class with the download manager. This change should have no effect on when the user sees a warning or not. BUG=102540 TEST=No visible change yet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110044

Patch Set 1 #

Patch Set 2 : fix unit-tests #

Total comments: 15

Patch Set 3 : Address comments. #

Patch Set 4 : Fix uninitialized variable issue. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -507 lines) Patch
M chrome/browser/download/chrome_download_manager_delegate.h View 3 chunks +18 lines, -10 lines 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 2 3 10 chunks +81 lines, -67 lines 1 comment Download
D chrome/browser/download/download_safe_browsing_client.h View 1 chunk +0 lines, -125 lines 0 comments Download
D chrome/browser/download/download_safe_browsing_client.cc View 1 chunk +0 lines, -180 lines 0 comments Download
D chrome/browser/download/download_safe_browsing_client_unittest.cc View 1 chunk +0 lines, -91 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.cc View 1 2 6 chunks +35 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 1 2 11 chunks +23 lines, -22 lines 0 comments Download
M chrome/chrome_browser.gypi View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
noelutz
9 years, 1 month ago (2011-11-12 01:51:54 UTC) #1
Randy Smith (Not in Mondays)
Asanka, could you also take a look at this? I'm figuring since the UI will ...
9 years, 1 month ago (2011-11-14 19:42:59 UTC) #2
noelutz
http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc#newcode89 chrome/browser/download/chrome_download_manager_delegate.cc:89: #if defined(ENABLE_SAFE_BROWSING) On 2011/11/14 19:43:00, rdsmith wrote: > Remind ...
9 years, 1 month ago (2011-11-14 20:30:42 UTC) #3
asanka
Thanks Randy. The chrome/browser/download/* changes LG. I don't have an objection to the assumption that ...
9 years, 1 month ago (2011-11-14 21:51:08 UTC) #4
noelutz
Thanks Asanka, On Mon, Nov 14, 2011 at 1:51 PM, <asanka@chromium.org> wrote: > Thanks Randy. ...
9 years, 1 month ago (2011-11-14 22:01:08 UTC) #5
Brian Ryner
http://codereview.chromium.org/8536041/diff/4001/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): http://codereview.chromium.org/8536041/diff/4001/chrome/browser/safe_browsing/download_protection_service.cc#newcode117 chrome/browser/safe_browsing/download_protection_service.cc:117: std::string chain = ""; Not necessary to initialize strings ...
9 years, 1 month ago (2011-11-14 22:10:39 UTC) #6
Randy Smith (Not in Mondays)
LGTM (presuming Asanka's ok with your answer to his question). http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc#newcode325 ...
9 years, 1 month ago (2011-11-14 22:24:22 UTC) #7
noelutz
http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc#newcode325 chrome/browser/download/chrome_download_manager_delegate.cc:325: if (!item) On 2011/11/14 22:24:22, rdsmith wrote: > There's ...
9 years, 1 month ago (2011-11-14 22:26:35 UTC) #8
Randy Smith (Not in Mondays)
On 2011/11/14 22:26:35, noelutz wrote: > http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc > File chrome/browser/download/chrome_download_manager_delegate.cc (right): > > http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc#newcode325 > ...
9 years, 1 month ago (2011-11-14 22:29:01 UTC) #9
asanka
Sounds good. LGTM. On 2011/11/14 22:01:08, noelutz wrote: > Thanks Asanka, > > On Mon, ...
9 years, 1 month ago (2011-11-14 22:44:20 UTC) #10
noelutz
Thanks for your comments. Please take another look. Thanks, noe. http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/8536041/diff/4001/chrome/browser/download/chrome_download_manager_delegate.cc#newcode325 ...
9 years, 1 month ago (2011-11-15 00:14:10 UTC) #11
Brian Ryner
lgtm
9 years, 1 month ago (2011-11-15 00:23:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noelutz@google.com/8536041/8004
9 years, 1 month ago (2011-11-15 01:45:46 UTC) #13
commit-bot: I haz the power
Try job failure for 8536041-8004 (retry) on linux_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-15 02:15:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noelutz@google.com/8536041/11003
9 years, 1 month ago (2011-11-15 03:42:33 UTC) #15
commit-bot: I haz the power
Change committed as 110044
9 years, 1 month ago (2011-11-15 04:59:39 UTC) #16
jam
lgtm http://codereview.chromium.org/8536041/diff/11003/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/8536041/diff/11003/chrome/browser/download/chrome_download_manager_delegate.cc#newcode222 chrome/browser/download/chrome_download_manager_delegate.cc:222: // TODO(noelutz): remove this method from the delegate ...
8 years, 11 months ago (2012-01-27 23:06:33 UTC) #17
jam
lgtm
8 years, 11 months ago (2012-01-27 23:06:35 UTC) #18
jam
(pressed lgtm button by mistake, I just meant to publish)
8 years, 11 months ago (2012-01-27 23:06:51 UTC) #19
jam
8 years, 11 months ago (2012-01-27 23:41:33 UTC) #20
On 2012/01/27 23:06:51, John Abd-El-Malek wrote:
> (pressed lgtm button by mistake, I just meant to publish)

ok i'm in this code now so i'll remove it in the meantime. in the future, please
do small cleanups like that in the change, otherwise they never get done.

Powered by Google App Engine
This is Rietveld 408576698