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..6daba01a1bbc205b7bd97d3f3e567a70b12f8ab0 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* GetDownloadProtectionService(); |
+ |
// Callback function after url is checked with safebrowsing service. |
void CheckDownloadUrlDone( |
int32 download_id, |