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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 303483007: ServiceWorker: Add UMA for ServiceWorkerDatabase (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments and fix rebase failures Created 6 years, 6 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 | « content/browser/service_worker/service_worker_storage.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 4b53b1c08636d4395a798a041d25cbb88247fc5d..e4bd8166fad265a7cb0d3a30e36109aa55a068ba 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -23960,6 +23960,28 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="ServiceWorker.Database.OpenResult"
+ enum="ServiceWorkerDatabaseStatus">
+ <owner>nhiroki@chromium.org</owner>
+ <summary>
+ Records result of opening a database for ServiceWorkerDatabase.
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorker.Database.ReadResult"
+ enum="ServiceWorkerDatabaseStatus">
+ <owner>nhiroki@chromium.org</owner>
+ <summary>Records result of read operations in ServiceWorkerDatabase.</summary>
+</histogram>
+
+<histogram name="ServiceWorker.Database.WriteResult"
+ enum="ServiceWorkerDatabaseStatus">
+ <owner>nhiroki@chromium.org</owner>
+ <summary>
+ Records result of write operations in ServiceWorkerDatabase.
+ </summary>
+</histogram>
+
<histogram name="Settings.DefaultSearchProvider" enum="OmniboxSearchEngine">
<obsolete>
Deprecated in Chrome 30. Use Search.DefaultSearchProviderType instead.
@@ -42194,6 +42216,15 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="10" label="SERVICE_UTILITY_SEMANTIC_CAPS_FAILED"/>
</enum>
+<enum name="ServiceWorkerDatabaseStatus" type="int">
+ <int value="0" label="STATUS_OK"/>
Alexei Svitkine (slow) 2014/06/03 19:16:36 Nit: These are meant to be human readable strings
nhiroki 2014/06/04 03:45:14 Done.
+ <int value="1" label="STATUS_ERROR_NOT_FOUND"/>
+ <int value="2" label="STATUS_ERROR_IO_ERROR"/>
+ <int value="3" label="STATUS_ERROR_CORRUPTED"/>
+ <int value="4" label="STATUS_ERROR_FAILED"/>
+ <int value="5" label="STATUS_ERROR_MAX"/>
+</enum>
+
<enum name="SessionStartupPref" type="int">
<int value="0" label="Open home page (unused)"/>
<int value="1" label="Continue from last opened pages"/>
« no previous file with comments | « content/browser/service_worker/service_worker_storage.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698