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

Unified Diff: chrome/browser/download/download_stats.cc

Issue 55063002: Prefer opening PDF downloads in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Destroy PluginService once we are done with our plugin tests. Created 7 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
« no previous file with comments | « chrome/browser/download/download_stats.h ('k') | chrome/browser/download/download_target_determiner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+}
« no previous file with comments | « chrome/browser/download/download_stats.h ('k') | chrome/browser/download/download_target_determiner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698