| 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 cfef416e1af4b5da726e611e489abeb3e291192e..b8541f8461ccf14ffb04930ca4ed3ea5715698c4 100644
|
| --- a/content/common/service_worker/service_worker_types.h
|
| +++ b/content/common/service_worker/service_worker_types.h
|
| @@ -92,6 +92,13 @@ enum FetchCredentialsMode {
|
| FETCH_CREDENTIALS_MODE_LAST = FETCH_CREDENTIALS_MODE_INCLUDE
|
| };
|
|
|
| +enum class FetchRedirectMode {
|
| + FOLLOW_MODE,
|
| + ERROR_MODE,
|
| + MANUAL_MODE,
|
| + LAST = MANUAL_MODE
|
| +};
|
| +
|
| // Indicates how the service worker handled a fetch event.
|
| enum ServiceWorkerFetchEventResult {
|
| // Browser should fallback to native fetch.
|
| @@ -130,6 +137,7 @@ struct CONTENT_EXPORT ServiceWorkerFetchRequest {
|
| uint64 blob_size;
|
| Referrer referrer;
|
| FetchCredentialsMode credentials_mode;
|
| + FetchRedirectMode redirect_mode;
|
| bool is_reload;
|
| };
|
|
|
|
|