| 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..967680cb23ac3c5b979dd1c9323200e07469fae7 100644
|
| --- a/Source/core/html/parser/HTMLResourcePreloader.h
|
| +++ b/Source/core/html/parser/HTMLResourcePreloader.h
|
| @@ -46,6 +46,8 @@ public:
|
|
|
| const String& charset() const { return m_charset; }
|
| double discoveryTime() const { return m_discoveryTime; }
|
| + FetchRequest::DeferOption defer() const { return m_defer; }
|
| + void setDefer(FetchRequest::DeferOption defer) { m_defer = defer; }
|
| void setCharset(const String& charset) { m_charset = charset.isolatedCopy(); }
|
| void setCrossOriginEnabled(StoredCredentials allowCredentials)
|
| {
|
| @@ -65,6 +67,7 @@ private:
|
| , m_isCORSEnabled(false)
|
| , m_allowCredentials(DoNotAllowStoredCredentials)
|
| , m_discoveryTime(monotonicallyIncreasingTime())
|
| + , m_defer(FetchRequest::NoDefer)
|
| {
|
| }
|
|
|
| @@ -79,6 +82,7 @@ private:
|
| bool m_isCORSEnabled;
|
| StoredCredentials m_allowCredentials;
|
| double m_discoveryTime;
|
| + FetchRequest::DeferOption m_defer;
|
| };
|
|
|
| typedef Vector<OwnPtr<PreloadRequest> > PreloadRequestStream;
|
|
|