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

Unified Diff: Source/core/loader/FrameFetchContext.h

Issue 1195023002: Add a Setting to make iframes load at VeryLow priority, disabled by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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: Source/core/loader/FrameFetchContext.h
diff --git a/Source/core/loader/FrameFetchContext.h b/Source/core/loader/FrameFetchContext.h
index 7e4e2d343f3c6df0a2530aaf3f4c230a430b6193..f4b79eb40ec58b5b3fff0b0d987f2429d125402d 100644
--- a/Source/core/loader/FrameFetchContext.h
+++ b/Source/core/loader/FrameFetchContext.h
@@ -104,6 +104,7 @@ public:
void upgradeInsecureRequest(FetchRequest&) override;
void addClientHintsIfNecessary(FetchRequest&) override;
void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override;
+ bool isLowPriorityIframe() const override;
virtual void countClientHintsDPR() override;
virtual void countClientHintsResourceWidth() override;

Powered by Google App Engine
This is Rietveld 408576698