summaryrefslogtreecommitdiffstats
path: root/net/http/http_request_info.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 18:14:29 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 18:14:29 +0000
commit72f2a144addea5e57bebdc8ede9665569f588c6f (patch)
treef35d0fdf4521ddb875880b089816155a2f9b91f0 /net/http/http_request_info.h
parent52b0f0ca254e56b1cdd2d40eeb47e18b3e800a8e (diff)
downloadchromium_src-72f2a144addea5e57bebdc8ede9665569f588c6f.zip
chromium_src-72f2a144addea5e57bebdc8ede9665569f588c6f.tar.gz
chromium_src-72f2a144addea5e57bebdc8ede9665569f588c6f.tar.bz2
Prioritize which HTTP requests get a socket first by adding a priority level to various methods and classes. Fix lint errors along the way.
R=darin,wtc BUG=8993 Review URL: http://codereview.chromium.org/42541 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_request_info.h')
-rw-r--r--net/http/http_request_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_request_info.h b/net/http/http_request_info.h
index de817fa..2a8a3f8 100644
--- a/net/http/http_request_info.h
+++ b/net/http/http_request_info.h
@@ -5,6 +5,7 @@
#ifndef NET_HTTP_HTTP_REQUEST_INFO_H__
#define NET_HTTP_HTTP_REQUEST_INFO_H__
+#include <string>
#include "base/ref_counted.h"
#include "googleurl/src/gurl.h"
#include "net/base/upload_data.h"
@@ -37,6 +38,9 @@ class HttpRequestInfo {
// Any load flags (see load_flags.h).
int load_flags;
+
+ // The priority level for this request.
+ int priority;
};
} // namespace net