| Index: tools/metrics/histograms/histograms.xml
|
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
|
| index bd3a4d4e80d88edb9966d31df8938d62f3b49821..3d69c15ad7d6e55b77b357c3337b4f9f7f463ed8 100644
|
| --- a/tools/metrics/histograms/histograms.xml
|
| +++ b/tools/metrics/histograms/histograms.xml
|
| @@ -49403,7 +49403,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
|
| <histogram name="ServiceWorker.ActivateEventStatus"
|
| enum="ServiceWorkerStatusCode">
|
| <owner>falken@chromium.org</owner>
|
| - <summary>The result of dispatching the activate event to the worker.</summary>
|
| + <summary>
|
| + The result of dispatching the activate event to the worker. This is recorded
|
| + to both ServiceWorker.ActivateEventStatus and whichever of
|
| + ServiceWorker.ActivateEventStatus_InShutdown
|
| + ServiceWorker.ActivateEventStatus_NotInShutdown is appropriate. (InShutdown
|
| + means the context was null or ServiceWorkerProcessManger::Shutdown was
|
| + called.)
|
| + </summary>
|
| </histogram>
|
|
|
| <histogram name="ServiceWorker.BackgroundSyncEvent.Time" units="ms">
|
| @@ -96796,6 +96803,12 @@ To add a new entry, add it with any value and run test to compute valid value.
|
| <suffix name="3" label="Failed three times."/>
|
| </histogram_suffixes>
|
|
|
| +<histogram_suffixes name="ServiceWorker.ShutdownStatus">
|
| + <affected-histogram name="ServiceWorker.ActivateEventStatus"/>
|
| + <suffix name="InShutdown" label="Browser shutdown started."/>
|
| + <suffix name="NotInShutdown" label="Browser shutdown has not started."/>
|
| +</histogram_suffixes>
|
| +
|
| <histogram_suffixes name="ServiceWorker.StartSituation">
|
| <affected-histogram name="EmbeddedWorkerInstance.Start.TimeToEvaluateScript"/>
|
| <affected-histogram name="EmbeddedWorkerInstance.Start.TimeToLoad.HttpCache"/>
|
|
|