| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading | 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading |
| 6 | 6 |
| 7 #ifndef CONTENT_CHILD_RESOURCE_DISPATCHER_H_ | 7 #ifndef CONTENT_CHILD_RESOURCE_DISPATCHER_H_ |
| 8 #define CONTENT_CHILD_RESOURCE_DISPATCHER_H_ | 8 #define CONTENT_CHILD_RESOURCE_DISPATCHER_H_ |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 ~PendingRequestInfo(); | 106 ~PendingRequestInfo(); |
| 107 | 107 |
| 108 RequestPeer* peer; | 108 RequestPeer* peer; |
| 109 ResourceType::Type resource_type; | 109 ResourceType::Type resource_type; |
| 110 // The PID of the original process which issued this request. This gets | 110 // The PID of the original process which issued this request. This gets |
| 111 // non-zero only for a request proxied by another renderer, particularly | 111 // non-zero only for a request proxied by another renderer, particularly |
| 112 // requests from plugins. | 112 // requests from plugins. |
| 113 int origin_pid; | 113 int origin_pid; |
| 114 MessageQueue deferred_message_queue; | 114 MessageQueue deferred_message_queue; |
| 115 bool is_deferred; | 115 bool is_deferred; |
| 116 bool is_canceled; | |
| 117 // Original requested url. | 116 // Original requested url. |
| 118 GURL url; | 117 GURL url; |
| 119 // The security origin of the frame that initiates this request. | 118 // The security origin of the frame that initiates this request. |
| 120 GURL frame_origin; | 119 GURL frame_origin; |
| 121 // The url of the latest response even in case of redirection. | 120 // The url of the latest response even in case of redirection. |
| 122 GURL response_url; | 121 GURL response_url; |
| 123 bool download_to_file; | 122 bool download_to_file; |
| 124 linked_ptr<IPC::Message> pending_redirect_message; | 123 linked_ptr<IPC::Message> pending_redirect_message; |
| 125 base::TimeTicks request_start; | 124 base::TimeTicks request_start; |
| 126 base::TimeTicks response_start; | 125 base::TimeTicks response_start; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 205 |
| 207 // IO thread timestamp for ongoing IPC message. | 206 // IO thread timestamp for ongoing IPC message. |
| 208 base::TimeTicks io_timestamp_; | 207 base::TimeTicks io_timestamp_; |
| 209 | 208 |
| 210 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); | 209 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); |
| 211 }; | 210 }; |
| 212 | 211 |
| 213 } // namespace content | 212 } // namespace content |
| 214 | 213 |
| 215 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ | 214 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ |
| OLD | NEW |