| Index: content/common/service_worker/service_worker_types.h
|
| diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
|
| index 32daef68b336a63f68b2c5df0398c54dc2301f83..dd1cab8c13c7a6f87530c948aa4bd109753f5b6d 100644
|
| --- a/content/common/service_worker/service_worker_types.h
|
| +++ b/content/common/service_worker/service_worker_types.h
|
| @@ -76,12 +76,16 @@ enum ServiceWorkerProviderType {
|
| SERVICE_WORKER_PROVIDER_FOR_SANDBOXED_FRAME
|
| };
|
|
|
| +// The enum entries below are written to histograms and thus cannot be deleted
|
| +// or reordered.
|
| +// New entries must be added immediately before the end.
|
| enum FetchRequestMode {
|
| FETCH_REQUEST_MODE_SAME_ORIGIN,
|
| FETCH_REQUEST_MODE_NO_CORS,
|
| FETCH_REQUEST_MODE_CORS,
|
| FETCH_REQUEST_MODE_CORS_WITH_FORCED_PREFLIGHT,
|
| - FETCH_REQUEST_MODE_LAST = FETCH_REQUEST_MODE_CORS_WITH_FORCED_PREFLIGHT
|
| + FETCH_REQUEST_MODE_NAVIGATE,
|
| + FETCH_REQUEST_MODE_LAST = FETCH_REQUEST_MODE_NAVIGATE
|
| };
|
|
|
| enum FetchCredentialsMode {
|
|
|