Index: Source/core/html/parser/HTMLResourcePreloader.h |
diff --git a/Source/core/html/parser/HTMLResourcePreloader.h b/Source/core/html/parser/HTMLResourcePreloader.h |
index 521dff7c60a9dd55b1fa372ccf4c957ff8e22e15..3d7619606d7a9a5a3732467478d0c681b855a306 100644 |
--- a/Source/core/html/parser/HTMLResourcePreloader.h |
+++ b/Source/core/html/parser/HTMLResourcePreloader.h |
@@ -46,6 +46,10 @@ public: |
const String& charset() const { return m_charset; } |
double discoveryTime() const { return m_discoveryTime; } |
+ bool isBeforeBody() const { return m_isBeforeBody; } |
+ void setIsBeforeBody(const bool isBeforeBody) { m_isBeforeBody = isBeforeBody; } |
+ bool execAsync() const { return m_execAsync; } |
+ void setExecAsync(const bool execAsync) { m_execAsync = execAsync; } |
void setCharset(const String& charset) { m_charset = charset.isolatedCopy(); } |
void setCrossOriginEnabled(StoredCredentials allowCredentials) |
{ |
@@ -65,6 +69,8 @@ private: |
, m_isCORSEnabled(false) |
, m_allowCredentials(DoNotAllowStoredCredentials) |
, m_discoveryTime(monotonicallyIncreasingTime()) |
+ , m_isBeforeBody(false) |
+ , m_execAsync(false) |
{ |
} |
@@ -79,6 +85,8 @@ private: |
bool m_isCORSEnabled; |
StoredCredentials m_allowCredentials; |
double m_discoveryTime; |
+ bool m_isBeforeBody; |
+ bool m_execAsync; |
}; |
typedef Vector<OwnPtr<PreloadRequest> > PreloadRequestStream; |