Index: content/browser/loader/resource_scheduler.h |
diff --git a/content/browser/loader/resource_scheduler.h b/content/browser/loader/resource_scheduler.h |
index e2894f6cee00cab6c8470eac44ee6558d86fa7d7..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, int value); |
+ net::RequestPriority new_priority, |
+ int intra_priority_value); |
// Attempts to load any pending requests in |client|, based on the |
// results of ShouldStartRequest(). |