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

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

Issue 1577073005: Add <link rel=preload> onload support for scripts and styles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed lifetime issue of LinkPreloadResourceClients Created 4 years, 11 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/loader/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index ec580333249438101b2ceae3a6f6e719640a456d..93d8ea02846c929b654b031e085280bed1568542 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -56,6 +56,7 @@ class ResourceFetcher;
class DocumentInit;
class LocalFrame;
class FrameLoader;
+class LinkLoader;
class MHTMLArchive;
class ResourceLoader;
class ThreadedDataReceiver;
@@ -146,7 +147,7 @@ public:
bool loadingMultipartContent() const;
- void startPreload(Resource::Type, FetchRequest&);
+ void startPreload(Resource::Type, FetchRequest&, LinkLoader*);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698