| Index: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h
|
| index 8433cb9a4e81c5490c7d1ead5b86c4cc9231d049..f327dc64dce997c9719e361bcba8b37ffb62b524 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h
|
| @@ -70,6 +70,7 @@ struct CORE_EXPORT CachedDocumentParameters {
|
| Length defaultViewportMinWidth;
|
| bool viewportMetaZeroValuesQuirk;
|
| bool viewportMetaEnabled;
|
| + bool isPrefetchOnly;
|
| ReferrerPolicy referrerPolicy;
|
|
|
| private:
|
| @@ -131,15 +132,18 @@ class TokenPreloadScanner {
|
| Checkpoint(const KURL& predictedBaseElementURL,
|
| bool inStyle,
|
| bool inScript,
|
| + bool isAppCacheEnabled,
|
| size_t templateCount)
|
| : predictedBaseElementURL(predictedBaseElementURL),
|
| inStyle(inStyle),
|
| inScript(inScript),
|
| + isAppCacheEnabled(isAppCacheEnabled),
|
| templateCount(templateCount) {}
|
|
|
| KURL predictedBaseElementURL;
|
| bool inStyle;
|
| bool inScript;
|
| + bool isAppCacheEnabled;
|
| size_t templateCount;
|
| };
|
|
|
| @@ -157,6 +161,7 @@ class TokenPreloadScanner {
|
| bool m_inStyle;
|
| bool m_inPicture;
|
| bool m_inScript;
|
| + bool m_isAppCacheEnabled;
|
| PictureData m_pictureData;
|
| size_t m_templateCount;
|
| std::unique_ptr<CachedDocumentParameters> m_documentParameters;
|
|
|