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

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

Issue 8345033: Collect some histograms about signed binary downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months 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
===================================================================
--- chrome/browser/download/chrome_download_manager_delegate.h (revision 106761)
+++ chrome/browser/download/chrome_download_manager_delegate.h (working copy)
@@ -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 @@
// service.
void CheckDownloadHashDone(int32 download_id, bool is_dangerous_hash);
+ // Callback function after the DownloadProtectionService completes.
+ void CheckClientDownloadDone(
+ DownloadItem* item,
+ safe_browsing::DownloadProtectionService::DownloadCheckResult result);
+
Profile* profile_;
scoped_ptr<DownloadPrefs> download_prefs_;
scoped_ptr<DownloadHistory> download_history_;

Powered by Google App Engine
This is Rietveld 408576698