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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.h

Issue 8468020: Propagate the SafeBrowsing download protection verdict to the DownloadItem. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add missing file and fix some unit-tests Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/chrome_download_manager_delegate.h
diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h
index 284284ea95c2b51fd0edcff287e66dea0874b50e..6bbbd79de9ed9966f467805eabc6549ed2d0813a 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -99,6 +99,10 @@ class ChromeDownloadManagerDelegate
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ // Returns the SafeBrowsing download protection service if it's
+ // enabled. Returns NULL otherwise.
+ safe_browsing::DownloadProtectionService* download_protection_service();
+
// Callback function after url is checked with safebrowsing service.
void CheckDownloadUrlDone(
int32 download_id,

Powered by Google App Engine
This is Rietveld 408576698