Index: third_party/WebKit/Source/core/loader/LinkLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/LinkLoader.h b/third_party/WebKit/Source/core/loader/LinkLoader.h |
index ce5b48ff037870d170b67325099435ab24b73795..56012a748f2dc04dcfdc3e92f2d4beb79c01c6fa 100644 |
--- a/third_party/WebKit/Source/core/loader/LinkLoader.h |
+++ b/third_party/WebKit/Source/core/loader/LinkLoader.h |
@@ -36,6 +36,7 @@ |
#include "core/fetch/ResourceClient.h" |
#include "core/fetch/ResourceOwner.h" |
#include "core/loader/LinkLoaderClient.h" |
+#include "core/loader/LinkPreloadResourceClients.h" |
#include "platform/CrossOriginAttributeValue.h" |
#include "platform/PrerenderClient.h" |
#include "platform/Timer.h" |
@@ -69,6 +70,8 @@ public: |
void didSendLoadForPrerender() override; |
void didSendDOMContentLoadedForPrerender() override; |
+ void triggerEvents(const Resource*); |
+ |
void released(); |
bool loadLink(const LinkRelAttribute&, CrossOriginAttributeValue, const String& type, const String& as, const KURL&, Document&, const NetworkHintsInterface&); |
enum CanLoadResources { LoadResources, DoNotLoadResources }; |
@@ -82,6 +85,7 @@ private: |
void linkLoadTimerFired(Timer<LinkLoader>*); |
void linkLoadingErrorTimerFired(Timer<LinkLoader>*); |
+ void createLinkPreloadResourceClient(ResourcePtr<Resource>); |
LinkLoaderClient* m_client; |
@@ -89,6 +93,7 @@ private: |
Timer<LinkLoader> m_linkLoadingErrorTimer; |
OwnPtrWillBeMember<PrerenderHandle> m_prerender; |
+ OwnPtrWillBeMember<LinkPreloadResourceClient> m_linkPreloadResourceClient; |
}; |
} |