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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1428843002: LeveldbValueStore: Deleting db when open fails due to corruption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: base::File::DeleteFile -> base::DeleteFile Created 5 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index f7381fb533a1363732c899e8d97248138a914ac9..6788df48f5916f82f2b561f86002e1bfb47973cd 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -11318,6 +11318,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Extensions.Database.CorruptionRecovery"
+ enum="LevelDBCorruptionRecoveryValue">
+ <owner>cmumford@chromium.org</owner>
+ <summary>
+ The result of an attempt to recover from an attempt to open a database that
+ failed as a result of corruption.
+ </summary>
+</histogram>
+
<histogram name="Extensions.Database.Open" enum="LevelDBStatus">
<owner>cmumford@chromium.org</owner>
<summary>The result of an open attempt to an Extensions database.</summary>
@@ -64476,6 +64485,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="4" label="Bookmark shortcut widget"/>
</enum>
+<enum name="LevelDBCorruptionRecoveryValue" type="int">
+ <int value="0" label="Delete Success"/>
+ <int value="1" label="Delete Failure"/>
+</enum>
+
<enum name="LevelDBCorruptionTypes" type="int">
<int value="0" label="other"/>
<int value="1" label="missing files"/>
@@ -76931,6 +76945,13 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Stability.ExitFunnel"/>
</histogram_suffixes>
+<histogram_suffixes name="ExtensionsDatabaseCorruptionRecovery" separator=".">
+ <suffix name="Rules" label="Rules backing stores"/>
+ <suffix name="Settings" label="Settings backing stores"/>
+ <suffix name="State" label="State backing stores"/>
+ <affected-histogram name="Extensions.Database.CorruptionRecovery"/>
+</histogram_suffixes>
+
<histogram_suffixes name="ExtensionsDatabaseOpen" separator=".">
<suffix name="Rules" label="Rules backing stores"/>
<suffix name="Settings" label="Settings backing stores"/>

Powered by Google App Engine
This is Rietveld 408576698