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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include "base/ref_counted.h" | 10 #include "base/ref_counted.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 scoped_refptr<UploadData> upload_data; | 45 scoped_refptr<UploadData> upload_data; |
46 | 46 |
47 // Any load flags (see load_flags.h). | 47 // Any load flags (see load_flags.h). |
48 int load_flags; | 48 int load_flags; |
49 | 49 |
50 // The priority level for this request. | 50 // The priority level for this request. |
51 RequestPriority priority; | 51 RequestPriority priority; |
52 | 52 |
53 // The motivation behind this request. | 53 // The motivation behind this request. |
54 RequestMotivation motivation; | 54 RequestMotivation motivation; |
| 55 |
| 56 // An optional globally unique identifier for this request for use by the |
| 57 // consumer. 0 is invalid. |
| 58 uint64 request_id; |
55 }; | 59 }; |
56 | 60 |
57 } // namespace net | 61 } // namespace net |
58 | 62 |
59 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__ | 63 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__ |
OLD | NEW |