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

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: 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:
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 e43615147e9cccfb3eacba6890afe9f27203695b..e4ad3d931c4ae96c30dc57e8a516b14be5df22b1 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3060,6 +3060,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>
@@ -21409,6 +21417,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"/>
+</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