diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-07-31 15:50:41 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 12:35:23 +0000 |
commit | 7b2ffa587235a47d4094787d72f38102089f402a (patch) | |
tree | 30e82af9cbab08a7fa028bb18f4f2987a3f74dfa /chromium/third_party/blink/renderer/platform/loader/fetch/resource_response.h | |
parent | d94af01c90575348c4e81a418257f254b6f8d225 (diff) | |
download | qtwebengine-chromium-7b2ffa587235a47d4094787d72f38102089f402a.tar.gz |
BASELINE: Update Chromium to 76.0.3809.94
Change-Id: I321c3f5f929c105aec0f98c5091ef6108822e647
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/loader/fetch/resource_response.h')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/loader/fetch/resource_response.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/platform/loader/fetch/resource_response.h b/chromium/third_party/blink/renderer/platform/loader/fetch/resource_response.h index 7059a04f532..1cdb004551a 100644 --- a/chromium/third_party/blink/renderer/platform/loader/fetch/resource_response.h +++ b/chromium/third_party/blink/renderer/platform/loader/fetch/resource_response.h @@ -418,6 +418,12 @@ class PLATFORM_EXPORT ResourceResponse final { is_signed_exchange_inner_response_ = is_signed_exchange_inner_response; } + bool WasInPrefetchCache() const { return was_in_prefetch_cache_; } + + void SetWasInPrefetchCache(bool was_in_prefetch_cache) { + was_in_prefetch_cache_ = was_in_prefetch_cache; + } + private: void UpdateHeaderParsedState(const AtomicString& name); @@ -482,6 +488,9 @@ class PLATFORM_EXPORT ResourceResponse final { // https://wicg.github.io/webpackage/draft-yasskin-http-origin-signed-responses.html bool is_signed_exchange_inner_response_ = false; + // True if this resource is served from the prefetch cache. + bool was_in_prefetch_cache_ = false; + // True if this resource was loaded from the network. bool network_accessed_ = false; |