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

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

Issue 1130773004: mac: Add histograms to measure impact of Address Book integration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from isherman, round five. Created 5 years, 7 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 | « components/autofill/core/browser/personal_data_manager_mac.mm ('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 27b3b10b323a85064e5dc1511890131a93f06179..32e3c211d427bebbba6bd2051ed694c7469c290e 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -2037,6 +2037,69 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Autofill.MacAddressBook.AcceptedSuggestionIsFromAddressBook"
+ enum="BooleanFromAddressBook">
+ <owner>erikchen@chromium.org</owner>
+ <summary>
+ This metric is emitted each time the user accepts an Autofill suggestion. It
+ records whether the result is from the Address Book.
+ </summary>
+</histogram>
+
+<histogram name="Autofill.MacAddressBook.AccessTime" units="ms">
+ <owner>erikchen@chromium.org</owner>
+ <summary>
+ The amount of time spent accessing the OSX Address Book the first time after
+ Chrome was launched. If this time is larger than ~100ms, this it is likely
+ that the user was shown a blocking, modal dialog.
+ </summary>
+</histogram>
+
+<histogram name="Autofill.MacAddressBook.ContainedMeCard"
+ enum="BooleanContainedMeCard">
+ <owner>erikchen@chromium.org</owner>
+ <summary>
+ After a Chrome is given access to the Mac Address Book, whether the Address
+ Book contained a Me card.
+ </summary>
+</histogram>
+
+<histogram name="Autofill.MacAddressBook.MeCard.HadAddress"
+ enum="BooleanHadAddress">
+ <owner>erikchen@chromium.org</owner>
+ <summary>
+ When Chrome is given access to the Me Card of the Address Book, whether the
+ card has an address that contained a street number and either a city or zip
+ code.
+ </summary>
+</histogram>
+
+<histogram name="Autofill.MacAddressBook.MeCard.HadEmail"
+ enum="BooleanHadEmail">
+ <owner>erikchen@chromium.org</owner>
+ <summary>
+ When Chrome is given access to the Me Card of the Address Book, whether the
+ card has an email.
+ </summary>
+</histogram>
+
+<histogram name="Autofill.MacAddressBook.MeCard.HadName" enum="BooleanHadName">
+ <owner>erikchen@chromium.org</owner>
+ <summary>
+ When Chrome is given access to the Me Card of the Address Book, whether the
+ card has a name.
+ </summary>
+</histogram>
+
+<histogram name="Autofill.MacAddressBook.MeCard.HadPhoneNumber"
+ enum="BooleanHadPhoneNumber">
+ <owner>erikchen@chromium.org</owner>
+ <summary>
+ When Chrome is given access to the Me Card of the Address Book, whether the
+ card has a phone number.
+ </summary>
+</histogram>
+
<histogram name="Autofill.MacAddressBook.NumShowsBeforeSelected">
<owner>erikchen@chromium.org</owner>
<summary>
@@ -48208,6 +48271,11 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="1" label="Completed"/>
</enum>
+<enum name="BooleanContainedMeCard" type="int">
+ <int value="0" label="Did not contain me card."/>
+ <int value="1" label="Contained me card."/>
+</enum>
+
<enum name="BooleanCorrupt" type="int">
<int value="0" label="Not Corrupt"/>
<int value="1" label="Corrupt"/>
@@ -48283,16 +48351,41 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="1" label="Force Disabled"/>
</enum>
+<enum name="BooleanFromAddressBook" type="int">
+ <int value="0" label="Not From Address Book"/>
+ <int value="1" label="From Address Book"/>
+</enum>
+
<enum name="BooleanGAIAWebViewFlow" type="int">
<int value="0" label="iframe-based flow"/>
<int value="1" label="WebView-based flow"/>
</enum>
+<enum name="BooleanHadAddress" type="int">
+ <int value="0" label="Did not have address."/>
+ <int value="1" label="Had address."/>
+</enum>
+
<enum name="BooleanHadBlankText" type="int">
<int value="0" label="Did not have blank text"/>
<int value="1" label="Had blank text"/>
</enum>
+<enum name="BooleanHadEmail" type="int">
+ <int value="0" label="Did not have email."/>
+ <int value="1" label="Had email."/>
+</enum>
+
+<enum name="BooleanHadName" type="int">
+ <int value="0" label="Did not have name."/>
+ <int value="1" label="Had name."/>
+</enum>
+
+<enum name="BooleanHadPhoneNumber" type="int">
+ <int value="0" label="Did not have phone number."/>
+ <int value="1" label="Had phone number."/>
+</enum>
+
<enum name="BooleanHandshakeConfirmed" type="int">
<int value="0" label="Handshake not confirmed"/>
<int value="1" label="Handshake confirmed"/>
« no previous file with comments | « components/autofill/core/browser/personal_data_manager_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698