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 0f87fa2261a5542e99dd7ed85572b99a7b9b50e5..fe9a1ccd85743fc9895da7439734b6b85c76afa0 100644 |
--- a/chrome/browser/download/chrome_download_manager_delegate.h |
+++ b/chrome/browser/download/chrome_download_manager_delegate.h |
@@ -11,6 +11,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/task.h" |
+#include "chrome/browser/safe_browsing/download_protection_service.h" |
#include "content/public/browser/download_manager_delegate.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
@@ -134,6 +135,11 @@ class ChromeDownloadManagerDelegate |
// service. |
void CheckDownloadHashDone(int32 download_id, bool is_dangerous_hash); |
+ // Callback function after the DownloadProtectionService completes. |
+ void CheckClientDownloadDone( |
+ int32 download_id, |
+ safe_browsing::DownloadProtectionService::DownloadCheckResult result); |
+ |
Profile* profile_; |
scoped_ptr<DownloadPrefs> download_prefs_; |
scoped_ptr<DownloadHistory> download_history_; |