summaryrefslogtreecommitdiffstats
path: root/net/http/http_request_info.h
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-02 04:31:31 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-02 04:31:31 +0000
commitac790b4ed41d0bfdf3636c7744618af01bcaa4d5 (patch)
tree9bf2d8fed0e83ef1c615972303cb93217c721a43 /net/http/http_request_info.h
parent7753c3f48f5d3fea1ac91575de75d78f8085be83 (diff)
downloadchromium_src-ac790b4ed41d0bfdf3636c7744618af01bcaa4d5.zip
chromium_src-ac790b4ed41d0bfdf3636c7744618af01bcaa4d5.tar.gz
chromium_src-ac790b4ed41d0bfdf3636c7744618af01bcaa4d5.tar.bz2
Update network priorities to support better granularity
of resource loading from WebKit into the network stack. In order to fully make these work, webkit changes are needed as well. BUG=none TEST=none Review URL: http://codereview.chromium.org/452033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33546 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_request_info.h')
-rw-r--r--net/http/http_request_info.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/http/http_request_info.h b/net/http/http_request_info.h
index 1382171..7ada539 100644
--- a/net/http/http_request_info.h
+++ b/net/http/http_request_info.h
@@ -8,13 +8,14 @@
#include <string>
#include "base/ref_counted.h"
#include "googleurl/src/gurl.h"
+#include "net/base/request_priority.h"
#include "net/base/upload_data.h"
namespace net {
class HttpRequestInfo {
public:
- HttpRequestInfo() : load_flags(0), priority(0) {
+ HttpRequestInfo() : load_flags(0), priority(LOWEST) {
}
// The requested URL.
@@ -40,7 +41,7 @@ class HttpRequestInfo {
int load_flags;
// The priority level for this request.
- int priority;
+ RequestPriority priority;
};
} // namespace net