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 // This is the browser side of the resource dispatcher, it receives requests | 5 // This is the browser side of the resource dispatcher, it receives requests |
6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and | 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and |
7 // dispatches them to URLRequests. It then forwards the messages from the | 7 // dispatches them to URLRequests. It then forwards the messages from the |
8 // URLRequests back to the correct process for handling. | 8 // URLRequests back to the correct process for handling. |
9 // | 9 // |
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading | 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "base/gtest_prod_util.h" | 23 #include "base/gtest_prod_util.h" |
24 #include "base/macros.h" | 24 #include "base/macros.h" |
25 #include "base/memory/ref_counted.h" | 25 #include "base/memory/ref_counted.h" |
26 #include "base/observer_list.h" | 26 #include "base/observer_list.h" |
27 #include "base/single_thread_task_runner.h" | 27 #include "base/single_thread_task_runner.h" |
28 #include "base/time/time.h" | 28 #include "base/time/time.h" |
29 #include "content/browser/blob_storage/chrome_blob_storage_context.h" | 29 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
30 #include "content/browser/loader/global_routing_id.h" | 30 #include "content/browser/loader/global_routing_id.h" |
31 #include "content/browser/loader/resource_loader_delegate.h" | 31 #include "content/browser/loader/resource_loader_delegate.h" |
32 #include "content/common/content_export.h" | 32 #include "content/common/content_export.h" |
33 #include "content/common/url_loader.mojom.h" | |
34 #include "content/public/browser/global_request_id.h" | 33 #include "content/public/browser/global_request_id.h" |
35 #include "content/public/browser/resource_dispatcher_host.h" | 34 #include "content/public/browser/resource_dispatcher_host.h" |
36 #include "content/public/browser/resource_request_info.h" | 35 #include "content/public/browser/resource_request_info.h" |
37 #include "content/public/browser/stream_handle.h" | 36 #include "content/public/browser/stream_handle.h" |
38 #include "content/public/common/previews_state.h" | 37 #include "content/public/common/previews_state.h" |
39 #include "content/public/common/request_context_type.h" | 38 #include "content/public/common/request_context_type.h" |
40 #include "content/public/common/resource_type.h" | 39 #include "content/public/common/resource_type.h" |
| 40 #include "content/public/common/url_loader.mojom.h" |
41 #include "ipc/ipc_message.h" | 41 #include "ipc/ipc_message.h" |
42 #include "net/base/load_states.h" | 42 #include "net/base/load_states.h" |
43 #include "net/base/request_priority.h" | 43 #include "net/base/request_priority.h" |
44 #include "third_party/WebKit/public/platform/WebMixedContentContextType.h" | 44 #include "third_party/WebKit/public/platform/WebMixedContentContextType.h" |
45 #include "url/gurl.h" | 45 #include "url/gurl.h" |
46 | 46 |
47 namespace base { | 47 namespace base { |
48 class FilePath; | 48 class FilePath; |
49 class RepeatingTimer; | 49 class RepeatingTimer; |
50 } | 50 } |
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 | 832 |
833 // Whether experimental web platform features are enabled. | 833 // Whether experimental web platform features are enabled. |
834 bool experimental_web_features_enabled_; | 834 bool experimental_web_features_enabled_; |
835 | 835 |
836 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); | 836 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); |
837 }; | 837 }; |
838 | 838 |
839 } // namespace content | 839 } // namespace content |
840 | 840 |
841 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 841 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ |
OLD | NEW |