Index: Source/core/fetch/ResourceFetcher.h |
diff --git a/Source/core/fetch/ResourceFetcher.h b/Source/core/fetch/ResourceFetcher.h |
index 670f1caa456a862620e1608c0923403229c6e215..066cb6b9bc9008345d908a8119bb1ec0b83bea95 100644 |
--- a/Source/core/fetch/ResourceFetcher.h |
+++ b/Source/core/fetch/ResourceFetcher.h |
@@ -110,7 +110,6 @@ public: |
void didLoadResource(); |
void redirectReceived(Resource*, const ResourceResponse&); |
void didFinishLoading(Resource*, double finishTime, int64_t encodedDataLength); |
- void didChangeLoadingPriority(const Resource*, ResourceLoadPriority, int intraPriorityValue); |
void didFailLoading(const Resource*, const ResourceError&); |
void willSendRequest(unsigned long identifier, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); |
void didReceiveResponse(const Resource*, const ResourceResponse&); |
@@ -132,7 +131,7 @@ public: |
void acceptDataFromThreadedReceiver(unsigned long identifier, const char* data, int dataLength, int encodedDataLength); |
- ResourceLoadPriority loadPriority(Resource::Type, const FetchRequest&); |
+ ResourceLoadPriority loadPriority(Resource::Type, const FetchRequest&, ResourcePriority::VisibilityStatus = ResourcePriority::NotVisible); |
enum ResourceLoadStartType { |
ResourceLoadingFromNetwork, |
@@ -147,6 +146,8 @@ public: |
bool clientDefersImage(const KURL&) const; |
void determineRequestContext(ResourceRequest&, Resource::Type); |
+ void updateAllImageResourcePriorities(); |
+ |
private: |
friend class ResourceCacheValidationSuppressor; |