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

Unified Diff: Source/platform/network/ResourceRequest.h

Issue 153983004: Schedule image resource downloads by decreasing visual impact - Blink Side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase + variable name change. Created 6 years, 9 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/rendering/RenderImage.cpp ('k') | Source/platform/network/ResourceRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceRequest.h
diff --git a/Source/platform/network/ResourceRequest.h b/Source/platform/network/ResourceRequest.h
index 710ace1227c9656dfe450b25943fc944d66e3121..a9a80c174c3d5cb12f7cf05d80953d9cd340aeec 100644
--- a/Source/platform/network/ResourceRequest.h
+++ b/Source/platform/network/ResourceRequest.h
@@ -161,7 +161,7 @@ public:
void setAllowStoredCredentials(bool allowCredentials);
ResourceLoadPriority priority() const;
- void setPriority(ResourceLoadPriority);
+ void setPriority(ResourceLoadPriority, int intraPriorityValue = 0);
bool isConditional() const;
@@ -231,6 +231,7 @@ private:
bool m_hasUserGesture : 1;
bool m_downloadToFile : 1;
ResourceLoadPriority m_priority;
+ int m_intraPriorityValue;
int m_requestorID;
int m_requestorProcessID;
int m_appCacheHostID;
@@ -264,6 +265,7 @@ public:
bool m_hasUserGesture;
bool m_downloadToFile;
ResourceLoadPriority m_priority;
+ int m_intraPriorityValue;
int m_requestorID;
int m_requestorProcessID;
int m_appCacheHostID;
« no previous file with comments | « Source/core/rendering/RenderImage.cpp ('k') | Source/platform/network/ResourceRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698