| Index: third_party/WebKit/Source/core/fetch/FetchRequest.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/FetchRequest.h b/third_party/WebKit/Source/core/fetch/FetchRequest.h
|
| index de5f3461da6b52e40b705b23a1b1fec4f767815d..e20ce0067cdb3a27b35f808c658b1c94e1b47c82 100644
|
| --- a/third_party/WebKit/Source/core/fetch/FetchRequest.h
|
| +++ b/third_party/WebKit/Source/core/fetch/FetchRequest.h
|
| @@ -144,6 +144,11 @@ class CORE_EXPORT FetchRequest {
|
| // method sets m_placeholderImageRequestType to the appropriate value.
|
| void setAllowImagePlaceholder();
|
|
|
| + // Enforce creation of new Resource object.
|
| + // Currently this is only for LoFi/Placeholder image reloading.
|
| + bool enforceNewResource() const { return m_enforceNewResource; }
|
| + void setEnforceNewResource() { m_enforceNewResource = true; }
|
| +
|
| private:
|
| ResourceRequest m_resourceRequest;
|
| String m_charset;
|
| @@ -156,6 +161,7 @@ class CORE_EXPORT FetchRequest {
|
| ResourceWidth m_resourceWidth;
|
| ClientHintsPreferences m_clientHintPreferences;
|
| PlaceholderImageRequestType m_placeholderImageRequestType;
|
| + bool m_enforceNewResource = false;
|
| };
|
|
|
| } // namespace blink
|
|
|