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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.h

Issue 663023007: Include high-fidelity metadata about a download in incident reports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: added DCHECK Created 6 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/safe_browsing/safe_browsing_service.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
index 51595489020b99caef251a19f99687e202c40443..9a8b3da62e8c7ee96a9159241e21f991c94085e3 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -39,6 +39,10 @@ namespace base {
class Thread;
}
+namespace content {
+class DownloadManager;
+}
+
namespace net {
class URLRequestContext;
class URLRequestContextGetter;
@@ -131,6 +135,9 @@ class SafeBrowsingService
void RegisterDelayedAnalysisCallback(
const safe_browsing::DelayedAnalysisCallback& callback);
+ // Adds |download_manager| to the set monitored by safe browsing.
+ void AddDownloadManager(content::DownloadManager* download_manager);
+
protected:
// Creates the safe browsing service. Need to initialize before using.
SafeBrowsingService();

Powered by Google App Engine
This is Rietveld 408576698