diff options
author | Matt Falkenhagen <falken@chromium.org> | 2015-06-18 12:57:56 +0900 |
---|---|---|
committer | Matt Falkenhagen <falken@chromium.org> | 2015-06-18 03:58:45 +0000 |
commit | b4f1f44368d98380a6d4509d0f8b395041e0af32 (patch) | |
tree | 046b33a3ccfce805b328ecc222dee4fea6079ce4 /tools | |
parent | ed51d695dad6cfdf746e900d9065ab476e2830ca (diff) | |
download | chromium_src-b4f1f44368d98380a6d4509d0f8b395041e0af32.zip chromium_src-b4f1f44368d98380a6d4509d0f8b395041e0af32.tar.gz chromium_src-b4f1f44368d98380a6d4509d0f8b395041e0af32.tar.bz2 |
(M44) Add UMA for ServiceWorkerURLRequestJob.
Trying to get a handle on "blank page" errors for
Service Worker controlled page loads.
BUG=498065
Review URL: https://codereview.chromium.org/1163423008
Cr-Commit-Position: refs/heads/master@{#334610}
(cherry picked from commit 43aef5c17c6ba019e889a23d49528a9a273d68a3)
TBR=nhiroki
Review URL: https://codereview.chromium.org/1178723011.
Cr-Commit-Position: refs/branch-heads/2403@{#346}
Cr-Branched-From: f54b8097a9c45ed4ad308133d49f05325d6c5070-refs/heads/master@{#330231}
Diffstat (limited to 'tools')
-rw-r--r-- | tools/metrics/histograms/histograms.xml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index a3f1573..6d75f41 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -36123,6 +36123,24 @@ Therefore, the affected-histogram name has to have at least one dot in it. </summary> </histogram> +<histogram name="ServiceWorker.FetchEvent.MainResource.Status" + enum="ServiceWorkerStatusCode"> + <owner>falken@chromium.org</owner> + <summary> + The result of dispatching a fetch event to a Service Worker for a main + resource request. + </summary> +</histogram> + +<histogram name="ServiceWorker.FetchEvent.Subresource.Status" + enum="ServiceWorkerStatusCode"> + <owner>falken@chromium.org</owner> + <summary> + The result of dispatching a fetch event to a Service Worker for a + subresource request. + </summary> +</histogram> + <histogram name="ServiceWorker.FetchEventExecutionTime" units="millisecond"> <owner>shimazu@chromium.org</owner> <summary> @@ -36269,6 +36287,22 @@ Therefore, the affected-histogram name has to have at least one dot in it. </summary> </histogram> +<histogram name="ServiceWorker.URLRequestJob.MainResource.Result" + enum="ServiceWorkerURLRequestJobResult"> + <owner>falken@chromium.org</owner> + <summary> + Records the result of a main resource request forwarded to a Service Worker. + </summary> +</histogram> + +<histogram name="ServiceWorker.URLRequestJob.Subresource.Result" + enum="ServiceWorkerURLRequestJobResult"> + <owner>falken@chromium.org</owner> + <summary> + Records the result of a subresource request forwarded to a Service Worker. + </summary> +</histogram> + <histogram name="ServiceWorkerCache.Cache" units="milliseconds"> <owner>dmurph@chromium.org</owner> <summary> @@ -63090,6 +63124,28 @@ To add a new entry, add it with any value and run test to compute valid value. <int value="17" label="SERVICE_WORKER_ERROR_REDUNDANT"/> </enum> +<enum name="ServiceWorkerURLRequestJobResult" type="int"> + <int value="0" label="REQUEST_JOB_FALLBACK_RESPONSE"/> + <int value="1" label="REQUEST_JOB_FALLBACK_FOR_CORS"/> + <int value="2" label="REQUEST_JOB_HEADERS_ONLY_RESPONSE"/> + <int value="3" label="REQUEST_JOB_STREAM_RESPONSE"/> + <int value="4" label="REQUEST_JOB_BLOB_RESPONSE"/> + <int value="5" label="REQUEST_JOB_ERROR_RESPONSE_STATUS_ZERO"/> + <int value="6" label="REQUEST_JOB_ERROR_BAD_BLOB"/> + <int value="7" label="REQUEST_JOB_ERROR_NO_PROVIDER_HOST"/> + <int value="8" label="REQUEST_JOB_ERROR_NO_ACTIVE_VERSION"/> + <int value="9" label="REQUEST_JOB_ERROR_NO_REQUEST"/> + <int value="10" label="REQUEST_JOB_ERROR_FETCH_EVENT_DISPATCH"/> + <int value="11" label="REQUEST_JOB_ERROR_BLOB_READ"/> + <int value="12" label="REQUEST_JOB_ERROR_STREAM_ABORTED"/> + <int value="13" label="REQUEST_JOB_ERROR_KILLED"/> + <int value="14" label="REQUEST_JOB_ERROR_KILLED_WITH_BLOB"/> + <int value="15" label="REQUEST_JOB_ERROR_KILLED_WITH_STREAM"/> + <int value="16" label="REQUEST_JOB_ERROR_DESTROYED"/> + <int value="17" label="REQUEST_JOB_ERROR_DESTROYED_WITH_BLOB"/> + <int value="18" label="REQUEST_JOB_ERROR_DESTROYED_WITH_STREAM"/> +</enum> + <enum name="ServiceWorkerWriteResponseResult" type="int"> <int value="0" label="OK"/> <int value="1" label="Write headers error"/> |