| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 IPC::Sender* message_sender_; | 216 IPC::Sender* message_sender_; |
| 217 | 217 |
| 218 // All pending requests issued to the host | 218 // All pending requests issued to the host |
| 219 PendingRequestList pending_requests_; | 219 PendingRequestList pending_requests_; |
| 220 | 220 |
| 221 ResourceDispatcherDelegate* delegate_; | 221 ResourceDispatcherDelegate* delegate_; |
| 222 | 222 |
| 223 // IO thread timestamp for ongoing IPC message. | 223 // IO thread timestamp for ongoing IPC message. |
| 224 base::TimeTicks io_timestamp_; | 224 base::TimeTicks io_timestamp_; |
| 225 | 225 |
| 226 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
| 227 |
| 226 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; | 228 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; |
| 227 | 229 |
| 228 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | |
| 229 | |
| 230 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); | 230 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); |
| 231 }; | 231 }; |
| 232 | 232 |
| 233 } // namespace content | 233 } // namespace content |
| 234 | 234 |
| 235 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ | 235 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ |
| OLD | NEW |