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

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

Issue 1781783002: Implement support for link type serviceworker in link elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/core/html/LinkRelAttribute.h
diff --git a/third_party/WebKit/Source/core/html/LinkRelAttribute.h b/third_party/WebKit/Source/core/html/LinkRelAttribute.h
index 5230d3af22f65064a10c676354cbd203c473c409..11e7bf961faaa129116c4ae682399b1875f62b0a 100644
--- a/third_party/WebKit/Source/core/html/LinkRelAttribute.h
+++ b/third_party/WebKit/Source/core/html/LinkRelAttribute.h
@@ -55,6 +55,7 @@ public:
bool isLinkNext() const { return m_isLinkNext; }
bool isImport() const { return m_isImport; }
bool isManifest() const { return m_isManifest; }
+ bool isServiceWorker() const { return m_isServiceWorker; }
private:
IconType m_iconType;
@@ -68,6 +69,7 @@ private:
bool m_isLinkNext : 1;
bool m_isImport : 1;
bool m_isManifest : 1;
+ bool m_isServiceWorker : 1;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698