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

Unified Diff: Source/core/loader/FrameFetchContext.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 | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameFetchContext.h
diff --git a/Source/core/loader/FrameFetchContext.h b/Source/core/loader/FrameFetchContext.h
index 972d1297ca4ffa70e8efa839140f457b49fba9bf..35c6d7071c34102571daaa16d001bb3bb0ede6fd 100644
--- a/Source/core/loader/FrameFetchContext.h
+++ b/Source/core/loader/FrameFetchContext.h
@@ -101,12 +101,9 @@ public:
void upgradeInsecureRequest(FetchRequest&) override;
void addClientHintsIfNecessary(FetchRequest&) override;
void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override;
- bool isLowPriorityIframe() const override;
- bool fetchDeferLateScripts() const override;
- bool fetchIncreaseFontPriority() const override;
- bool fetchIncreaseAsyncScriptPriority() const override;
bool fetchIncreasePriorities() const override;
+ ResourceLoadPriority modifyPriorityForExperiments(ResourceLoadPriority, Resource::Type, const FetchRequest&) override;
void countClientHintsDPR() override;
void countClientHintsResourceWidth() override;
@@ -126,6 +123,8 @@ private:
// See crbug.com/383860 for details.
RawPtrWillBeWeakMember<Document> m_document;
RawPtrWillBeMember<DocumentLoader> m_documentLoader;
+
+ bool m_imageFetched : 1;
};
}
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698