| Index: third_party/WebKit/Source/platform/network/ResourceRequest.h
|
| diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.h b/third_party/WebKit/Source/platform/network/ResourceRequest.h
|
| index 85abacc726f61ff2cf0d64ba9f88a3b2450703a9..4720bede5ef9328241a5e63f0b746ee704fe1283 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceRequest.h
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceRequest.h
|
| @@ -308,6 +308,21 @@ class PLATFORM_EXPORT ResourceRequest final {
|
| void setNavigationStartTime(double);
|
| double navigationStartTime() const { return m_navigationStart; }
|
|
|
| + bool isCacheAwareLoadingEnabled() const {
|
| + return m_isCacheAwareLoadingEnabled;
|
| + }
|
| +
|
| + void setIsCacheAwareLoadingEnabled(bool isCacheAwareLoadingEnabled) {
|
| + m_isCacheAwareLoadingEnabled = isCacheAwareLoadingEnabled;
|
| + }
|
| +
|
| + bool isCacheAwareLoadingActivated() const {
|
| + return m_isCacheAwareLoadingActivated;
|
| + }
|
| +
|
| + void mayActivateCacheAwareLoading();
|
| + void deactivateCacheAwareLoading();
|
| +
|
| private:
|
| void initialize(const KURL&);
|
|
|
| @@ -349,6 +364,9 @@ class PLATFORM_EXPORT ResourceRequest final {
|
| double m_uiStartTime;
|
| bool m_isExternalRequest;
|
| InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy;
|
| + bool m_isCacheAwareLoadingEnabled;
|
| + bool m_isCacheAwareLoadingActivated;
|
| + WebCachePolicy m_savedCachePolicy;
|
|
|
| mutable CacheControlHeader m_cacheControlHeaderCache;
|
|
|
| @@ -400,6 +418,9 @@ struct CrossThreadResourceRequestData {
|
| double m_uiStartTime;
|
| bool m_isExternalRequest;
|
| InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy;
|
| + bool m_isCacheAwareLoadingEnabled;
|
| + bool m_isCacheAwareLoadingActivated;
|
| + WebCachePolicy m_savedCachePolicy;
|
| ResourceRequest::RedirectStatus m_redirectStatus;
|
| };
|
|
|
|
|