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

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

Issue 50493012: [sql] Recover Favicons v5 databases, with more recovery automation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, merge rows-recovered support. 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 | « sql/test/test_helpers.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 27aaee88ee1ae60cd6424a36786e569b398bc028..88097a69d3ba1cd2ecbc211585a04f913a91efe5 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -18793,6 +18793,14 @@ other types of suffix sets.
<summary>Errors truncating database for Raze().</summary>
</histogram>
+<histogram name="Sqlite.RecoveryHandle" enum="SqliteErrorCode">
+ <summary>Error from sqlite3_backup_init() in sql::Recovery.</summary>
+</histogram>
+
+<histogram name="Sqlite.RecoveryStep" enum="SqliteErrorCode">
+ <summary>Error from sqlite3_backup_step() in sql::Recovery.</summary>
+</histogram>
+
<histogram name="Sqlite.SizeKB" units="Kb">
<summary>Size in kilobytes of pre-existing database at startup.</summary>
</histogram>
@@ -24318,6 +24326,33 @@ other types of suffix sets.
<int value="17" label="RECOVERY_EVENT_FAILED_META_INIT">
Failed sql::MetaTable::Init().
</int>
+ <int value="18" label="RECOVERY_EVENT_FAILED_META_VERSION">
+ Failed sql::Recovery::SetupMeta() or GetMetaVersionNumber().
+ </int>
+ <int value="19" label="RECOVERY_EVENT_DEPRECATED">
+ Recovery found deprecated version and razed.
+ </int>
+ <int value="20" label="RECOVERY_EVENT_FAILED_V5_INITSCHEMA">
+ Failed v5 recovery loading schema.
+ </int>
+ <int value="21" label="RECOVERY_EVENT_FAILED_V5_AUTORECOVER_FAVICONS">
+ Failed v5 recovery on favicons.
+ </int>
+ <int value="22" label="RECOVERY_EVENT_FAILED_V5_AUTORECOVER_ICON_MAPPING">
+ Failed v5 recovery on icon_mapping.
+ </int>
+ <int value="23" label="RECOVERY_EVENT_RECOVERED_VERSION5">
+ Successful recovery of version 6 database.
+ </int>
+ <int value="24" label="RECOVERY_EVENT_FAILED_AUTORECOVER_FAVICONS">
+ Failed v6/7 recovery on favicons.
+ </int>
+ <int value="25" label="RECOVERY_EVENT_FAILED_AUTORECOVER_FAVICON_BITMAPS">
+ Failed v6/7 recovery on favicon_bitmaps.
+ </int>
+ <int value="26" label="RECOVERY_EVENT_FAILED_AUTORECOVER_ICON_MAPPING">
+ Failed v6/7 recovery on icon_mapping.
+ </int>
</enum>
<enum name="HttpAuthCount" type="int">
« no previous file with comments | « sql/test/test_helpers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698