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 a43f60754a60f58a79bbd1ccf70706b6f0bdfd83..3de01cfc32dc938b05ef439114c591adc03d7838 100644 |
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.h |
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.h |
@@ -237,6 +237,9 @@ public: |
void setRedirectStatus(RedirectStatus status) { m_redirectStatus = status; } |
RedirectStatus redirectStatus() const { return m_redirectStatus; } |
+ void setLinkPreload(bool isLinkPreload) { m_isLinkPreload = isLinkPreload; } |
+ bool linkPreload() const { return m_isLinkPreload; } |
+ |
private: |
void initialize(const KURL&); |
@@ -258,6 +261,7 @@ private: |
bool m_downloadToFile : 1; |
bool m_useStreamOnResponse : 1; |
bool m_shouldResetAppCache : 1; |
+ bool m_isLinkPreload : 1; |
WebURLRequest::SkipServiceWorker m_skipServiceWorker; |
ResourceLoadPriority m_priority; |
int m_intraPriorityValue; |
@@ -307,6 +311,7 @@ public: |
WebURLRequest::SkipServiceWorker m_skipServiceWorker; |
bool m_useStreamOnResponse; |
bool m_shouldResetAppCache; |
+ bool m_isLinkPreload; |
ResourceLoadPriority m_priority; |
int m_intraPriorityValue; |
int m_requestorID; |