summaryrefslogtreecommitdiffstats
path: root/chromium/services/network/public/mojom/url_response_head.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/services/network/public/mojom/url_response_head.mojom')
-rw-r--r--chromium/services/network/public/mojom/url_response_head.mojom6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/services/network/public/mojom/url_response_head.mojom b/chromium/services/network/public/mojom/url_response_head.mojom
index fa737edd89d..d24f063b8eb 100644
--- a/chromium/services/network/public/mojom/url_response_head.mojom
+++ b/chromium/services/network/public/mojom/url_response_head.mojom
@@ -134,6 +134,12 @@ struct URLResponseHead {
// https://fetch.spec.whatwg.org/#concept-response-type
FetchResponseType response_type = FetchResponseType.kDefault;
+ // Pre-computed padding. This should only be non-zero when |response_type|
+ // is set to kOpaque. Note, this is not set by network service, but will be
+ // populated if the response was provided by a service worker FetchEvent
+ // handler.
+ int64 padding = 0;
+
// The cache name of the CacheStorage from where the response is served via
// the ServiceWorker. Empty if the response isn't from the CacheStorage.
string cache_storage_cache_name;