Index: chrome/browser/safe_browsing/download_protection_service.cc |
diff --git a/chrome/browser/safe_browsing/download_protection_service.cc b/chrome/browser/safe_browsing/download_protection_service.cc |
index 71fa9c3e71d3638eec0041145ec6af4bdc6f01f0..071706847af94b0697ce270e010b8bdb77ddebbc 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service.cc |
+++ b/chrome/browser/safe_browsing/download_protection_service.cc |
@@ -575,6 +575,8 @@ class DownloadProtectionService::CheckClientDownloadRequest |
} |
void RecordImprovedProtectionStats(DownloadCheckResultReason reason) { |
+ VLOG(2) << "SafeBrowsing download verdict for: " |
+ << info_.DebugString() << " verdict:" << reason; |
UMA_HISTOGRAM_ENUMERATION("SBClientDownload.CheckDownloadStats", |
reason, |
REASON_MAX); |
@@ -640,6 +642,11 @@ void DownloadProtectionService::CheckDownloadUrl( |
base::Bind(&DownloadUrlSBClient::StartCheck, client)); |
} |
+bool DownloadProtectionService::IsSupportedFileType( |
+ const FilePath& filename) const { |
+ return IsBinaryFile(filename); |
+} |
+ |
void DownloadProtectionService::CancelPendingRequests() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
for (std::set<scoped_refptr<CheckClientDownloadRequest> >::iterator it = |