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

Unified Diff: third_party/WebKit/Source/core/html/LinkResource.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: uppercase W in runtime feature name 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/LinkResource.h
diff --git a/third_party/WebKit/Source/core/html/LinkResource.h b/third_party/WebKit/Source/core/html/LinkResource.h
index 7599d920560e0918089ff3414825f4dbab9ef34f..07c983c2fe5b4fa69c3ba3fbaf69bfe0ba022e86 100644
--- a/third_party/WebKit/Source/core/html/LinkResource.h
+++ b/third_party/WebKit/Source/core/html/LinkResource.h
@@ -31,6 +31,7 @@
#ifndef LinkResource_h
#define LinkResource_h
+#include "core/CoreExport.h"
#include "core/fetch/FetchRequest.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
@@ -41,13 +42,14 @@ namespace blink {
class HTMLLinkElement;
class LocalFrame;
-class LinkResource : public NoBaseWillBeGarbageCollectedFinalized<LinkResource> {
+class CORE_EXPORT LinkResource : public NoBaseWillBeGarbageCollectedFinalized<LinkResource> {
WTF_MAKE_NONCOPYABLE(LinkResource); USING_FAST_MALLOC_WILL_BE_REMOVED(LinkResource);
public:
enum LinkResourceType {
Style,
Import,
- Manifest
+ Manifest,
+ Other
};
explicit LinkResource(HTMLLinkElement*);
« no previous file with comments | « third_party/WebKit/Source/core/html/LinkRelAttribute.cpp ('k') | third_party/WebKit/Source/core/html/RelList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698