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

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

Issue 1285223002: Add metrics for tracking LoginDatabase::Init failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 years, 4 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/password_manager/core/browser/login_database.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 526cb57dbb41c4042c291f989aec1c4b980f1504..6e7648f50da189725a680b567f2487a086ec6ba3 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -28730,6 +28730,19 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="PasswordManager.LoginDatabaseFailedVersion">
+ <owner>vasilii@chromium.org</owner>
+ <summary>
+ The version of LoginDatabase if the migration to a new one failed.
+ </summary>
+</histogram>
+
+<histogram name="PasswordManager.LoginDatabaseInit"
+ enum="LoginDatabaseInitError">
+ <owner>vasilii@chromium.org</owner>
+ <summary>An error on LoginDatabase initialization.</summary>
+</histogram>
+
<histogram name="PasswordManager.NumPasswordsDeletedByBulkDelete">
<owner>vabr@chromium.org</owner>
<summary>
@@ -62323,6 +62336,18 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="2137599770" label="enable-win32k-renderer-lockdown"/>
</enum>
+<enum name="LoginDatabaseInitError" type="int">
+ <int value="0" label="Init success"/>
+ <int value="1" label="Can't open file"/>
+ <int value="2" label="Start transaction error"/>
+ <int value="3" label="Meta table failed initialization"/>
+ <int value="4" label="Incompatible current version"/>
+ <int value="5" label="Logins table failed initialization"/>
+ <int value="6" label="Stats table failed initialization"/>
+ <int value="7" label="Migration error"/>
+ <int value="8" label="Commit transaction error"/>
+</enum>
+
<enum name="LoginFailureReason" type="int">
<int value="0" label="NONE">None</int>
<int value="1" label="COULD_NOT_MOUNT_CRYPTOHOME">
« no previous file with comments | « components/password_manager/core/browser/login_database.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698