Index: content/browser/loader/resource_scheduler.h |
diff --git a/content/browser/loader/resource_scheduler.h b/content/browser/loader/resource_scheduler.h |
index b374b6ccb3b22e66cfdaed114b6f14aa4b633b0e..7bb9963e9d4aecb10083d2f6f9678bfc72482780 100644 |
--- a/content/browser/loader/resource_scheduler.h |
+++ b/content/browser/loader/resource_scheduler.h |
@@ -87,6 +87,10 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe { |
private: |
class RequestQueue; |
class ScheduledResourceRequest; |
+ struct ScheduledResourceSorter { |
+ bool operator()(const ScheduledResourceRequest* a, |
+ const ScheduledResourceRequest* b) const; |
+ }; |
struct Client; |
typedef int64 ClientId; |
@@ -106,7 +110,8 @@ class CONTENT_EXPORT ResourceScheduler : public base::NonThreadSafe { |
// reprioritized, it will move to the end of the queue for that priority |
// level. |
void ReprioritizeRequest(ScheduledResourceRequest* request, |
- net::RequestPriority new_priority); |
+ net::RequestPriority new_priority, |
+ int intra_priority_value); |
// Attempts to load any pending requests in |client|, based on the |
// results of ShouldStartRequest(). |