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> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
15 #include "base/memory/shared_memory.h" | 15 #include "base/memory/shared_memory.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
| 19 #include "content/public/common/resource_type.h" |
19 #include "ipc/ipc_listener.h" | 20 #include "ipc/ipc_listener.h" |
20 #include "ipc/ipc_sender.h" | 21 #include "ipc/ipc_sender.h" |
21 #include "net/base/request_priority.h" | 22 #include "net/base/request_priority.h" |
22 #include "webkit/common/resource_type.h" | |
23 | 23 |
24 struct ResourceMsg_RequestCompleteData; | 24 struct ResourceMsg_RequestCompleteData; |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
27 class WebThreadedDataReceiver; | 27 class WebThreadedDataReceiver; |
28 } | 28 } |
29 | 29 |
30 namespace webkit_glue { | 30 namespace webkit_glue { |
31 class ResourceLoaderBridge; | 31 class ResourceLoaderBridge; |
32 } | 32 } |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 216 |
217 // IO thread timestamp for ongoing IPC message. | 217 // IO thread timestamp for ongoing IPC message. |
218 base::TimeTicks io_timestamp_; | 218 base::TimeTicks io_timestamp_; |
219 | 219 |
220 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); | 220 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); |
221 }; | 221 }; |
222 | 222 |
223 } // namespace content | 223 } // namespace content |
224 | 224 |
225 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ | 225 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ |
OLD | NEW |