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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1349163008: Setting chrome as the default browser is now fixed on Windows 10 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation again Created 5 years, 2 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:
Download patch
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_browsertest.cc ('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 bf2dd23dba7c7ea3cddffb896bdcc83600b76347..d392b9765d2d5231f255de57aa4b060afd7c2ab0 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6124,6 +6124,25 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DefaultBrowser.AsyncSetAsDefault.Duration"
+ units="milliseconds">
+ <owner>pmonette@chromium.org</owner>
+ <summary>
+ How long it took to set Chrome as the default browser asynchronously in
+ Windows 10+. The duration is recorded only on Success, Failure, Abandoned
+ and Retry result codes.
+ </summary>
+</histogram>
+
+<histogram name="DefaultBrowser.AsyncSetAsDefault.Result"
+ enum="DefaultBrowserAsyncAttemptResult">
+ <owner>pmonette@chromium.org</owner>
+ <summary>
+ The count of how many times users were successfully able to set Chrome as
+ the default browser asynchronously in Windows 10+.
+ </summary>
+</histogram>
+
<histogram name="DefaultBrowser.InteractionResult"
enum="MakeChromeDefaultResult">
<owner>gab@chromium.org</owner>
@@ -54785,6 +54804,31 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="6" label="kImageBMP"/>
</enum>
+<enum name="DefaultBrowserAsyncAttemptResult" type="int">
+ <int value="0" label="Success">No errors encountered.</int>
+ <int value="1" label="Already default">
+ Chrome was already the default web client. This counts as a successful
+ attempt.
+ </int>
+ <int value="2" label="Failure">
+ Chrome was not set as the default web client.
+ </int>
+ <int value="3" label="Abandoned">
+ The attempt was abandoned because the observer was destroyed.
+ </int>
+ <int value="4" label="Launch failure">
+ Failed to launch the process to set Chrome as the default web client
+ asynchronously.
+ </int>
+ <int value="5" label="Other worker">
+ Another worker is already in progress to make Chrome the default web client.
+ </int>
+ <int value="6" label="Retry">
+ The user initiated another attempt while the asynchronous operation was
+ already in progress.
+ </int>
+</enum>
+
<enum name="DefaultBrowserState" type="int">
<int value="0" label="Not Default"/>
<int value="1" label="Default"/>
@@ -74477,6 +74521,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Renderer4.StartToFinish"/>
</histogram_suffixes>
+<histogram_suffixes name="AttemptResultCode">
+ <suffix name="Success"/>
+ <suffix name="Failure"/>
+ <suffix name="Abandoned"/>
+ <suffix name="Retry"/>
+ <affected-histogram name="DefaultBrowser.AsyncSetAsDefault.Duration"/>
nikunjb 2015/10/26 17:45:30 include Other worker and LaunchFailure is skipped.
Patrick Monette 2015/10/26 18:10:21 Yes because the duration for those error codes are
+</histogram_suffixes>
+
<histogram_suffixes name="AutofillDataAvailability" separator=".">
<suffix name="WithNoData" label="no autofill data"/>
<suffix name="WithOnlyServerData" label="only server autofill data"/>
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698