| Index: Source/core/fetch/FetchRequest.h
|
| diff --git a/Source/core/fetch/FetchRequest.h b/Source/core/fetch/FetchRequest.h
|
| index d7701d5d635ae40da2edbe773f2b3f4d16dd0235..bce9277c9b6e0cef1fcf60f1606a9188a7858f0d 100644
|
| --- a/Source/core/fetch/FetchRequest.h
|
| +++ b/Source/core/fetch/FetchRequest.h
|
| @@ -56,6 +56,7 @@ public:
|
| bool forPreload() const { return m_forPreload; }
|
| void setForPreload(bool forPreload) { m_forPreload = forPreload; }
|
| DeferOption defer() const { return m_defer; }
|
| + int resourceWidth() const { return m_resourceWidth; }
|
| void setDefer(DeferOption defer) { m_defer = defer; }
|
| void setContentSecurityCheck(ContentSecurityPolicyDisposition contentSecurityPolicyOption) { m_options.contentSecurityPolicyOption = contentSecurityPolicyOption; }
|
| void setCrossOriginAccessControl(SecurityOrigin*, StoredCredentials, CredentialRequest);
|
| @@ -63,6 +64,7 @@ public:
|
| void setCrossOriginAccessControl(SecurityOrigin*, const AtomicString& crossOriginMode);
|
| OriginRestriction originRestriction() const { return m_originRestriction; }
|
| void setOriginRestriction(OriginRestriction restriction) { m_originRestriction = restriction; }
|
| + void setResourceWidth(int resourceWidth) { m_resourceWidth = resourceWidth; }
|
|
|
| private:
|
| ResourceRequest m_resourceRequest;
|
| @@ -72,6 +74,7 @@ private:
|
| bool m_forPreload;
|
| DeferOption m_defer;
|
| OriginRestriction m_originRestriction;
|
| + int m_resourceWidth;
|
| };
|
|
|
| } // namespace blink
|
|
|