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

Side by Side Diff: content/browser/service_worker/service_worker_metrics.h

Issue 1967683003: service worker: Wait for request body blobs to finish construction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 7 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:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_url_request_job.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 REQUEST_JOB_ERROR_FETCH_EVENT_DISPATCH, 57 REQUEST_JOB_ERROR_FETCH_EVENT_DISPATCH,
58 REQUEST_JOB_ERROR_BLOB_READ, 58 REQUEST_JOB_ERROR_BLOB_READ,
59 REQUEST_JOB_ERROR_STREAM_ABORTED, 59 REQUEST_JOB_ERROR_STREAM_ABORTED,
60 REQUEST_JOB_ERROR_KILLED, 60 REQUEST_JOB_ERROR_KILLED,
61 REQUEST_JOB_ERROR_KILLED_WITH_BLOB, 61 REQUEST_JOB_ERROR_KILLED_WITH_BLOB,
62 REQUEST_JOB_ERROR_KILLED_WITH_STREAM, 62 REQUEST_JOB_ERROR_KILLED_WITH_STREAM,
63 REQUEST_JOB_ERROR_DESTROYED, 63 REQUEST_JOB_ERROR_DESTROYED,
64 REQUEST_JOB_ERROR_DESTROYED_WITH_BLOB, 64 REQUEST_JOB_ERROR_DESTROYED_WITH_BLOB,
65 REQUEST_JOB_ERROR_DESTROYED_WITH_STREAM, 65 REQUEST_JOB_ERROR_DESTROYED_WITH_STREAM,
66 REQUEST_JOB_ERROR_BAD_DELEGATE, 66 REQUEST_JOB_ERROR_BAD_DELEGATE,
67 REQUEST_JOB_ERROR_REQUEST_BODY_BLOB_FAILED,
67 NUM_REQUEST_JOB_RESULT_TYPES, 68 NUM_REQUEST_JOB_RESULT_TYPES,
68 }; 69 };
69 70
70 // Used for UMA. Append-only. 71 // Used for UMA. Append-only.
71 enum class StopStatus { 72 enum class StopStatus {
72 NORMAL, 73 NORMAL,
73 DETACH_BY_REGISTRY, 74 DETACH_BY_REGISTRY,
74 TIMEOUT, 75 TIMEOUT,
75 // Add new types here. 76 // Add new types here.
76 NUM_TYPES 77 NUM_TYPES
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 static void RecordStartStatusAfterFailure(int failure_count, 221 static void RecordStartStatusAfterFailure(int failure_count,
221 ServiceWorkerStatusCode status); 222 ServiceWorkerStatusCode status);
222 223
223 private: 224 private:
224 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerMetrics); 225 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerMetrics);
225 }; 226 };
226 227
227 } // namespace content 228 } // namespace content
228 229
229 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_ 230 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698