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

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: Created 6 years, 10 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: Source/platform/network/ResourceRequest.h
diff --git a/Source/platform/network/ResourceRequest.h b/Source/platform/network/ResourceRequest.h
index 63ae6a786cb3cb09631512b1af6638fcff2948cb..f1499b8cb67f55a97e1e63bc320f55db8274ca88 100644
--- a/Source/platform/network/ResourceRequest.h
+++ b/Source/platform/network/ResourceRequest.h
@@ -161,7 +161,7 @@ public:
void setAllowCookies(bool allowCookies);
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;

Powered by Google App Engine
This is Rietveld 408576698