Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index bbc43543f71fd24af2afaba8febc946d3ef81499..7bdbc37c99437dd666fe093d10281081dde0277b 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -36826,6 +36826,31 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="ServiceWorker.DiskCacheMigrator.MigrationResult" |
+ enum="ServiceWorkerStatusCode"> |
+ <owner>nhiroki@chromium.org</owner> |
+ <summary> |
+ Records result of ServiceWorkerDiskCache migration from BlockFile to Simple. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="ServiceWorker.DiskCacheMigrator.MigrationTime" |
+ units="millisecond"> |
falken
2015/06/08 09:05:54
nit: milliseconds
nhiroki
2015/06/08 09:29:21
Fixed (hmmm... I copied this from other SW UMAs...
|
+ <owner>nhiroki@chromium.org</owner> |
+ <summary> |
+ Execution time of ServiceWorkerDiskCache migration from BlockFile to Simple. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="ServiceWorker.DiskCacheMigrator.NumberOfMigratedResources" |
+ units="count"> |
+ <owner>nhiroki@chromium.org</owner> |
+ <summary> |
+ The counts of resources migrated by ServiceWorkerDiskCacheMigrator. This |
+ includes the main script and imported scripts. |
+ </summary> |
+</histogram> |
+ |
<histogram name="ServiceWorker.FetchEvent.Time" units="milliseconds"> |
<owner>shimazu@chromium.org</owner> |
<summary> |
@@ -37017,6 +37042,14 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="ServiceWorker.Storage.DiskCacheMigrationResult" |
+ enum="ServiceWorkerDiskCacheMigrationResult"> |
+ <owner>nhiroki@chromium.org</owner> |
+ <summary> |
+ Records result of diskcache migration operations in ServiceWorkerStorage. |
+ </summary> |
+</histogram> |
+ |
<histogram name="ServiceWorker.UnhandledEventRatio" units="percent"> |
<owner>kinuko@chromium.org</owner> |
<summary> |
@@ -64652,6 +64685,22 @@ To add a new entry, add it with any value and run test to compute valid value. |
<int value="2" label="Failed to delete ServiceWorkerDiskCache"/> |
</enum> |
+<enum name="ServiceWorkerDiskCacheMigrationResult" type="int"> |
+ <int value="0" label="MIGRATION_OK"/> |
+ <int value="1" label="MIGRATION_NOT_NECESSARY"/> |
+ <int value="2" label="MIGRATION_ERROR_INITIALIZE"/> |
+ <int value="3" label="MIGRATION_ERROR_FAILED"/> |
+ <int value="4" label="MIGRATION_ERROR_DELETE_DISK_CACHE"/> |
+</enum> |
+ |
+<enum name="ServiceWorkerPlatformNotificationStatus" type="int"> |
+ <int value="0" label="OK"/> |
+ <int value="1" label="Service Worker not found"/> |
+ <int value="2" label="Service Worker error"/> |
+ <int value="3" label="event.waitUntil promise rejected"/> |
+ <int value="4" label="Database error"/> |
+</enum> |
+ |
<enum name="ServiceWorkerReadResponseResult" type="int"> |
<int value="0" label="OK"/> |
<int value="1" label="Read headers error"/> |