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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceFetcher.h

Issue 2072613002: Make ResourceLoadPriority calculation simpler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop a default arg Created 4 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: third_party/WebKit/Source/core/fetch/ResourceFetcher.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
index 31a65ed9874196c2940fc58bd707415619de1668..843163b6549a66730029cdb4341db75c0cdfcab0 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
@@ -127,8 +127,6 @@ public:
void acceptDataFromThreadedReceiver(unsigned long identifier, const char* data, int dataLength, int encodedDataLength);
- ResourceLoadPriority loadPriority(Resource::Type, const FetchRequest&, ResourcePriority::VisibilityStatus = ResourcePriority::NotVisible);
-
enum ResourceLoadStartType {
ResourceLoadingFromNetwork,
ResourceLoadingFromCache
@@ -156,6 +154,7 @@ private:
void initializeRevalidation(ResourceRequest&, Resource*);
Resource* createResourceForLoading(FetchRequest&, const String& charset, const ResourceFactory&);
void storeResourceTimingInitiatorInformation(Resource*);
+ ResourceLoadPriority loadPriority(Resource::Type, const FetchRequest&, ResourcePriority::VisibilityStatus);
kinuko 2016/06/17 05:40:47 nit: while you're here can we rename this to compu
Nate Chapin 2016/06/17 18:38:16 load is a noun here, I think. The name reads like
Resource* resourceForStaticData(const FetchRequest&, const ResourceFactory&, const SubstituteData&);

Powered by Google App Engine
This is Rietveld 408576698