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

Issue 8600006: Track download request time and always send back the hash. (Closed)

Created:
9 years, 1 month ago by noelutz
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Track how long a typical SafeBrowsing download protection request takes. This histogram will also tell us how often the server response got back too late and the timeout was reached. This CL also makes sure we always send back the file hash if the enhanced download protection is enabled. BUG=NONE TEST=Run all unit-tests under DownloadProtectionServiceTest.

Patch Set 1 #

Patch Set 2 : Initial upload #

Total comments: 2

Patch Set 3 : Address Randy's change. #

Patch Set 4 : Err. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M chrome/browser/safe_browsing/download_protection_service.cc View 1 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
noelutz
9 years, 1 month ago (2011-11-18 23:14:15 UTC) #1
Randy Smith (Not in Mondays)
http://codereview.chromium.org/8600006/diff/2001/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/8600006/diff/2001/chrome/browser/download/chrome_download_manager_delegate.cc#newcode214 chrome/browser/download/chrome_download_manager_delegate.cc:214: sb_service->download_protection_service()->enabled())); Why this change? Why can't sb_service->DownloadBinHashNeeded() include this ...
9 years, 1 month ago (2011-11-18 23:27:16 UTC) #2
noelutz
http://codereview.chromium.org/8600006/diff/2001/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/8600006/diff/2001/chrome/browser/download/chrome_download_manager_delegate.cc#newcode214 chrome/browser/download/chrome_download_manager_delegate.cc:214: sb_service->download_protection_service()->enabled())); On 2011/11/18 23:27:17, rdsmith wrote: > Why this ...
9 years, 1 month ago (2011-11-18 23:30:23 UTC) #3
Brian Ryner
lgtm
9 years, 1 month ago (2011-11-19 00:03:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noelutz@google.com/8600006/7003
9 years, 1 month ago (2011-11-19 00:39:15 UTC) #5
commit-bot: I haz the power
9 years, 1 month ago (2011-11-19 00:59:46 UTC) #6
Try job failure for 8600006-7003 (retry) on win_rel for step "compile" (clobber
build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698