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

Unified Diff: Source/core/dom/ScriptLoader.h

Issue 514893002: Lower priority of async scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleaned up a few stray member variables Created 6 years, 3 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
« no previous file with comments | « LayoutTests/http/tests/loading/script-priorities-expected.txt ('k') | Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptLoader.h
diff --git a/Source/core/dom/ScriptLoader.h b/Source/core/dom/ScriptLoader.h
index 473876e74816733eb816d00691ce7e2b402e0072..accc1cdb287502b39aba109b1a264b3896f9ba6c 100644
--- a/Source/core/dom/ScriptLoader.h
+++ b/Source/core/dom/ScriptLoader.h
@@ -21,6 +21,7 @@
#ifndef ScriptLoader_h
#define ScriptLoader_h
+#include "core/fetch/FetchRequest.h"
#include "core/fetch/ResourceClient.h"
#include "core/fetch/ResourcePtr.h"
#include "wtf/text/TextPosition.h"
@@ -77,7 +78,7 @@ private:
bool ignoresLoadRequest() const;
bool isScriptForEventSupported() const;
- bool fetchScript(const String& sourceUrl);
+ bool fetchScript(const String& sourceUrl, FetchRequest::DeferOption);
void stopLoadRequest();
ScriptLoaderClient* client() const;
« no previous file with comments | « LayoutTests/http/tests/loading/script-priorities-expected.txt ('k') | Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698