ServiceWorker: Add UMA for storage recovery operation
commitd954a0c1c36eb49a9aed3595157992b5f656c3b6
authornhiroki <nhiroki@chromium.org>
Thu, 26 Mar 2015 06:10:04 +0000 (25 23:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 06:10:35 +0000 (26 06:10 +0000)
tree5f429ba050df09355800c7d7355ce68996d05c52
parent6826023abd24c8aa8981f4f0fadcf98f0f962bba
ServiceWorker: Add UMA for storage recovery operation

This CL adds UMA for results of SWStorage::DeleteAndStartOver() and
SWDatabase::DestroyDatabase(). Deleting the diskcache just returns
success/failure boolean and it will be recorded as a part of results
of DeleteAndStartOver().

BUG=461654,468926
TEST=n/a

Review URL: https://codereview.chromium.org/1030703003

Cr-Commit-Position: refs/heads/master@{#322332}
content/browser/service_worker/service_worker_database.cc
content/browser/service_worker/service_worker_metrics.cc
content/browser/service_worker/service_worker_metrics.h
content/browser/service_worker/service_worker_storage.cc
tools/metrics/histograms/histograms.xml