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

Unified Diff: third_party/WebKit/Source/core/loader/LinkLoader.h

Issue 2483713002: Add referrerpolicy support to link prefetch (Closed)
Patch Set: -mReview nit & DCHECK Created 4 years, 1 month 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/loader/LinkLoader.h
diff --git a/third_party/WebKit/Source/core/loader/LinkLoader.h b/third_party/WebKit/Source/core/loader/LinkLoader.h
index ae3dd150bb14189765f536ae94e65ed11a892f82..2e8970aff7d4ac46b493b54da96bc34235d5c581 100644
--- a/third_party/WebKit/Source/core/loader/LinkLoader.h
+++ b/third_party/WebKit/Source/core/loader/LinkLoader.h
@@ -111,6 +111,11 @@ class CORE_EXPORT LinkLoader final
void linkLoadTimerFired(TimerBase*);
void linkLoadingErrorTimerFired(TimerBase*);
void createLinkPreloadResourceClient(Resource*);
+ void prefetchIfNeeded(Document&,
+ const KURL& href,
+ const LinkRelAttribute&,
+ CrossOriginAttributeValue,
+ ReferrerPolicy);
Member<LinkLoaderClient> m_client;

Powered by Google App Engine
This is Rietveld 408576698