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 <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 #include <deque> | 12 #include <deque> |
13 #include <map> | 13 #include <map> |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "base/containers/hash_tables.h" | 17 #include "base/containers/hash_tables.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/linked_ptr.h" | 19 #include "base/memory/linked_ptr.h" |
20 #include "base/memory/shared_memory.h" | 20 #include "base/memory/shared_memory.h" |
21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
22 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" |
23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
24 #include "content/common/content_export.h" | 24 #include "content/common/content_export.h" |
25 #include "content/common/url_loader.mojom.h" | |
26 #include "content/public/common/resource_type.h" | 25 #include "content/public/common/resource_type.h" |
| 26 #include "content/public/common/url_loader.mojom.h" |
27 #include "content/public/common/url_loader_throttle.h" | 27 #include "content/public/common/url_loader_throttle.h" |
28 #include "ipc/ipc_listener.h" | 28 #include "ipc/ipc_listener.h" |
29 #include "ipc/ipc_sender.h" | 29 #include "ipc/ipc_sender.h" |
30 #include "mojo/public/cpp/system/data_pipe.h" | 30 #include "mojo/public/cpp/system/data_pipe.h" |
31 #include "net/base/request_priority.h" | 31 #include "net/base/request_priority.h" |
32 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 32 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
33 #include "url/gurl.h" | 33 #include "url/gurl.h" |
34 #include "url/origin.h" | 34 #include "url/origin.h" |
35 | 35 |
36 namespace net { | 36 namespace net { |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; | 280 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; |
281 | 281 |
282 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; | 282 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; |
283 | 283 |
284 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); | 284 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); |
285 }; | 285 }; |
286 | 286 |
287 } // namespace content | 287 } // namespace content |
288 | 288 |
289 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ | 289 #endif // CONTENT_CHILD_RESOURCE_DISPATCHER_H_ |
OLD | NEW |