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

Side by Side Diff: net/http/http_request_info.h

Issue 42541: Prioritize which HTTP requests get a socket first by adding a priority level ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_REQUEST_INFO_H__ 5 #ifndef NET_HTTP_HTTP_REQUEST_INFO_H__
6 #define NET_HTTP_HTTP_REQUEST_INFO_H__ 6 #define NET_HTTP_HTTP_REQUEST_INFO_H__
7 7
8 #include <string>
8 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
9 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
10 #include "net/base/upload_data.h" 11 #include "net/base/upload_data.h"
11 12
12 namespace net { 13 namespace net {
13 14
14 class HttpRequestInfo { 15 class HttpRequestInfo {
15 public: 16 public:
16 HttpRequestInfo() : load_flags(0) { 17 HttpRequestInfo() : load_flags(0) {
17 } 18 }
(...skipping 12 matching lines...) Expand all
30 std::string user_agent; 31 std::string user_agent;
31 32
32 // Any extra request headers (\r\n-delimited). 33 // Any extra request headers (\r\n-delimited).
33 std::string extra_headers; 34 std::string extra_headers;
34 35
35 // Any upload data. 36 // Any upload data.
36 scoped_refptr<UploadData> upload_data; 37 scoped_refptr<UploadData> upload_data;
37 38
38 // Any load flags (see load_flags.h). 39 // Any load flags (see load_flags.h).
39 int load_flags; 40 int load_flags;
41
42 // The priority level for this request.
43 int priority;
40 }; 44 };
41 45
42 } // namespace net 46 } // namespace net
43 47
44 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__ 48 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__
OLDNEW
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698