| OLD | NEW |
| 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 Loading... |
| 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__ |
| OLD | NEW |