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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 55063002: Prefer opening PDF downloads in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add UMA. Limit change to PDF files for now. 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:
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 85787bf4a2f36ad8a1f6fae45961c9ed54f53c96..b2aca69435ef7f115d7420c16c70047a0d391b88 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -2966,6 +2966,14 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Download.OpenMethod" enum="DownloadOpenMethod">
+ <summary>
+ Invocation count for methods of opening a download. For some file types,
+ Chrome defaults to opening the file in the browser instead of invoking the
+ system handler. The user has the option of overriding this behavior.
+ </summary>
+</histogram>
+
<histogram name="Download.OpensOutstanding">
<summary>The number of unopened downloads, when one is opened.</summary>
</histogram>
@@ -21144,6 +21152,12 @@ other types of suffix sets.
<int value="8" label="POTENTIALLY_UNWANTED"/>
</enum>
+<enum name="DownloadOpenMethod" type="int">
+ <int value="0" label="Opened with plaform handler by default"/>
+ <int value="1" label="Opened in browser by default"/>
+ <int value="2" label="Opened with plaform handler by user choice"/>
Ilya Sherman 2013/11/05 23:14:03 Should there also be an entry for "Opened in the b
asanka 2013/11/05 23:24:39 That would have been the "Open in Chrome" option t
+</enum>
+
<enum name="DownloadSavePackageEvent" type="int">
<int value="0" label="Started"/>
<int value="1" label="Cancelled"/>
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698