OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_CHILD_REQUEST_INFO_H_ | 5 #ifndef CONTENT_CHILD_REQUEST_INFO_H_ |
6 #define CONTENT_CHILD_REQUEST_INFO_H_ | 6 #define CONTENT_CHILD_REQUEST_INFO_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 std::string headers; | 47 std::string headers; |
48 | 48 |
49 // Composed of the values defined in url_request_load_flags.h. | 49 // Composed of the values defined in url_request_load_flags.h. |
50 int load_flags; | 50 int load_flags; |
51 | 51 |
52 // Process id of the process making the request. | 52 // Process id of the process making the request. |
53 int requestor_pid; | 53 int requestor_pid; |
54 | 54 |
55 // Indicates if the current request is the main frame load, a sub-frame | 55 // Indicates if the current request is the main frame load, a sub-frame |
56 // load, or a sub objects load. | 56 // load, or a sub objects load. |
57 ResourceType::Type request_type; | 57 ResourceType request_type; |
58 | 58 |
59 // Indicates the priority of this request, as determined by WebKit. | 59 // Indicates the priority of this request, as determined by WebKit. |
60 net::RequestPriority priority; | 60 net::RequestPriority priority; |
61 | 61 |
62 // Used for plugin to browser requests. | 62 // Used for plugin to browser requests. |
63 uint32_t request_context; | 63 uint32_t request_context; |
64 | 64 |
65 // Identifies what appcache host this request is associated with. | 65 // Identifies what appcache host this request is associated with. |
66 int appcache_host_id; | 66 int appcache_host_id; |
67 | 67 |
(...skipping 10 matching lines...) Expand all Loading... |
78 // Extra data associated with this request. We do not own this pointer. | 78 // Extra data associated with this request. We do not own this pointer. |
79 blink::WebURLRequest::ExtraData* extra_data; | 79 blink::WebURLRequest::ExtraData* extra_data; |
80 | 80 |
81 private: | 81 private: |
82 DISALLOW_COPY_AND_ASSIGN(RequestInfo); | 82 DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace content | 85 } // namespace content |
86 | 86 |
87 #endif // CONTENT_CHILD_REQUEST_INFO_H_ | 87 #endif // CONTENT_CHILD_REQUEST_INFO_H_ |
OLD | NEW |