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

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

Issue 2773483003: Create PasswordProtectionRequest to handle password pings (Closed)
Patch Set: Address lpz's comments Created 3 years, 9 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/safe_browsing/password_protection/password_protection_service_unittest.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 ca14407d0cab0e86b8b06a9f200541714db2d733..dc923f68a528d33fd80043f713adfa06f6a5ace8 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -47634,6 +47634,54 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="PasswordProtection.PasswordProtectionResponseOrErrorCode"
+ enum="CombinedHttpResponseAndNetErrorCode">
+ <owner>jialiul@chromium.org</owner>
+ <owner>nparker@chromium.org</owner>
+ <summary>
+ Response or error codes for PasswordProtectionRequest. Logged after chrome
+ receives response of PasswordProtectionRequest from Safe Browsing service.
+ </summary>
+</histogram>
+
+<histogram name="PasswordProtection.PasswordReuseEventVerdict"
+ enum="PasswordProtectionVerdict">
+ <owner>jialiul@chromium.org</owner>
+ <owner>nparker@chromium.org</owner>
+ <summary>
+ Verdict types returned by Safe Browsing server for password reuse events.
+ </summary>
+</histogram>
+
+<histogram name="PasswordProtection.RequestNetworkDuration" units="ms">
+ <owner>jialiul@chromium.org</owner>
+ <owner>nparker@chromium.org</owner>
+ <summary>
+ The time it takes for PasswordProtectionService request. It is not recorded
+ for requests that were canceled.
+ </summary>
+</histogram>
+
+<histogram name="PasswordProtection.RequestOutcome"
+ enum="PasswordProtectionRequestOutcome">
+ <owner>jialiul@chromium.org</owner>
+ <owner>nparker@chromium.org</owner>
+ <summary>
+ Records the outcome of the password protection request, indicating if
+ request is sent out successfully or if it is skipped or canceled for some
+ reason.
+ </summary>
+</histogram>
+
+<histogram name="PasswordProtection.UnfamiliarLoginPageVerdict"
+ enum="PasswordProtectionVerdict">
+ <owner>jialiul@chromium.org</owner>
+ <owner>nparker@chromium.org</owner>
+ <summary>
+ Verdict types returned by Safe Browsing server for unfamiliar login pages.
+ </summary>
+</histogram>
+
<histogram
name="PaymentRequest.CanMakePayment.NotUsed.WithShowEffectOnCompletion"
enum="PaymentRequestFlowCompletionStatus">
@@ -105226,6 +105274,28 @@ from previous Chrome versions.
<int value="12" label="Clicked the link passwords.google.com"/>
</enum>
+<enum name="PasswordProtectionRequestOutcome" type="int">
+ <int value="0" label="Unknown"/>
+ <int value="1" label="Succeeded"/>
+ <int value="2" label="Canceled"/>
+ <int value="3" label="Timed out"/>
+ <int value="4" label="Matched whitelist"/>
+ <int value="5" label="Response already cached"/>
+ <int value="6" label="Not extended reporting user"/>
+ <int value="7" label="Incognito"/>
+ <int value="8" label="Request malformed"/>
+ <int value="9" label="Fetch failed"/>
+ <int value="10" label="Response malformed"/>
+ <int value="11" label="Service destroyed"/>
+</enum>
+
+<enum name="PasswordProtectionVerdict" type="int">
+ <int value="0" label="Verdict not specified"/>
+ <int value="1" label="Safe"/>
+ <int value="2" label="Low reputation"/>
+ <int value="3" label="Phishing"/>
+</enum>
+
<enum name="PasswordReusePasswordFieldDetected" type="int">
<int value="0" label="No password field"/>
<int value="1" label="Has password field"/>
« no previous file with comments | « components/safe_browsing/password_protection/password_protection_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698