Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1102)

Unified Diff: Source/core/html/LinkRelAttribute.h

Issue 1060863003: Add initial link preload support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix uninit member :/ Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLLinkElement.cpp ('k') | Source/core/html/LinkRelAttribute.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LinkRelAttribute.h
diff --git a/Source/core/html/LinkRelAttribute.h b/Source/core/html/LinkRelAttribute.h
index f18a31e220ece361592f02ff327d6e191dcda7ae..ee2151c11ef36602a50581e4c20aa4935996c38b 100644
--- a/Source/core/html/LinkRelAttribute.h
+++ b/Source/core/html/LinkRelAttribute.h
@@ -48,6 +48,7 @@ public:
bool isPreconnect() const { return m_isPreconnect; }
bool isLinkPrefetch() const { return m_isLinkPrefetch; }
bool isLinkSubresource() const { return m_isLinkSubresource; }
+ bool isLinkPreload() const { return m_isLinkPreload; }
bool isLinkPrerender() const { return m_isLinkPrerender; }
bool isLinkNext() const { return m_isLinkNext; }
bool isImport() const { return m_isImport; }
@@ -63,6 +64,7 @@ private:
bool m_isPreconnect : 1;
bool m_isLinkPrefetch : 1;
bool m_isLinkSubresource : 1;
+ bool m_isLinkPreload : 1;
bool m_isLinkPrerender : 1;
bool m_isLinkNext : 1;
bool m_isImport : 1;
« no previous file with comments | « Source/core/html/HTMLLinkElement.cpp ('k') | Source/core/html/LinkRelAttribute.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698