Index: chrome/browser/download/download_stats.cc |
diff --git a/chrome/browser/download/download_stats.cc b/chrome/browser/download/download_stats.cc |
index 955875659d714616b91e4e6b77d8b14c435e174e..4c2fd68626852da1c6a4bb884f4f37bdeab6d826 100644 |
--- a/chrome/browser/download/download_stats.cc |
+++ b/chrome/browser/download/download_stats.cc |
@@ -37,3 +37,9 @@ void RecordOpenedDangerousConfirmDialog( |
danger_type, |
content::DOWNLOAD_DANGER_TYPE_MAX); |
} |
+ |
+void RecordDownloadOpenMethod(ChromeDownloadOpenMethod open_method) { |
+ UMA_HISTOGRAM_ENUMERATION("Download.OpenMethod", |
+ open_method, |
+ DOWNLOAD_OPEN_METHOD_LAST_ENTRY); |
+} |