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

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: robert comments (and sync to r300494, oops) Created 6 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/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 60eea7e8c5e4ac3d3cd1ebec44b367cd4c931660..51c01ef6e1b62af839fbd81c102e92c234454fd4 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