| 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 26cdfdc6a0dc12f099de11f598fa60cf2d51192e..d082cf7c1ffcd76b01abed8fe0a4ee79d3a2681d 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
|
| +++ b/third_party/WebKit/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,
|
| @@ -149,6 +148,8 @@ public:
|
|
|
| WebTaskRunner* loadingTaskRunner();
|
|
|
| + void updateAllImageResourcePriorities();
|
| +
|
| private:
|
| friend class ResourceCacheValidationSuppressor;
|
|
|
|
|