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

Unified Diff: Source/core/fetch/FetchContext.h

Issue 1319153004: Cleanup ResourceLoadPriority setting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Guess who uploaded without compiling locally Created 5 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 | « no previous file | Source/core/fetch/ResourceFetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/FetchContext.h
diff --git a/Source/core/fetch/FetchContext.h b/Source/core/fetch/FetchContext.h
index 740addee78bc6d7f2d1f604e6ef2095db8e2368d..dbcb39b1809f5f6cfc60a6c4ea8137d58f618c39 100644
--- a/Source/core/fetch/FetchContext.h
+++ b/Source/core/fetch/FetchContext.h
@@ -103,12 +103,9 @@ public:
virtual void upgradeInsecureRequest(FetchRequest&);
virtual void addClientHintsIfNecessary(FetchRequest&);
virtual void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&);
- virtual bool isLowPriorityIframe() const { return false; }
- virtual bool fetchDeferLateScripts() const { return false; }
- virtual bool fetchIncreaseFontPriority() const { return false; }
- virtual bool fetchIncreaseAsyncScriptPriority() const { return false; }
virtual bool fetchIncreasePriorities() const { return false; }
+ virtual ResourceLoadPriority modifyPriorityForExperiments(ResourceLoadPriority priority, Resource::Type, const FetchRequest&) { return priority; }
protected:
FetchContext() { }
« no previous file with comments | « no previous file | Source/core/fetch/ResourceFetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698