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

Unified Diff: content/public/browser/download_manager_delegate.h

Issue 2901563003: PDF: Add UMA to track embedded PDF triggered drive-by downloads. (Closed)
Patch Set: Created 3 years, 7 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: content/public/browser/download_manager_delegate.h
diff --git a/content/public/browser/download_manager_delegate.h b/content/public/browser/download_manager_delegate.h
index 8a26132c3c048e214f449bff83c32039aeef871c..d88bb556c3f4592778a68ddc860084a2a8744e4d 100644
--- a/content/public/browser/download_manager_delegate.h
+++ b/content/public/browser/download_manager_delegate.h
@@ -164,6 +164,9 @@ class CONTENT_EXPORT DownloadManagerDelegate {
// This GUID is only used on Windows.
virtual std::string ApplicationClientIdForFileScanning() const;
+ // Records metrics about a drive-by PDF download.
+ virtual void RecordDriveByPDFDownload() const {}
+
protected:
virtual ~DownloadManagerDelegate();
};

Powered by Google App Engine
This is Rietveld 408576698