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 30 matching lines...) Expand all Loading... |
41 #include "ipc/ipc_message.h" | 41 #include "ipc/ipc_message.h" |
42 #include "mojo/public/cpp/system/data_pipe.h" | 42 #include "mojo/public/cpp/system/data_pipe.h" |
43 #include "net/base/request_priority.h" | 43 #include "net/base/request_priority.h" |
44 #include "net/cookies/canonical_cookie.h" | 44 #include "net/cookies/canonical_cookie.h" |
45 #include "net/url_request/url_request.h" | 45 #include "net/url_request/url_request.h" |
46 | 46 |
47 namespace base { | 47 namespace base { |
48 class FilePath; | 48 class FilePath; |
49 } | 49 } |
50 | 50 |
51 namespace net { | |
52 class URLRequestJobFactory; | |
53 } | |
54 | |
55 namespace storage { | 51 namespace storage { |
56 class ShareableFileReference; | 52 class ShareableFileReference; |
57 } | 53 } |
58 | 54 |
59 namespace content { | 55 namespace content { |
60 class AppCacheService; | 56 class AppCacheService; |
61 class AsyncRevalidationManager; | 57 class AsyncRevalidationManager; |
62 class LoaderDelegate; | 58 class LoaderDelegate; |
63 class NavigationURLLoaderImplCore; | 59 class NavigationURLLoaderImplCore; |
64 class NavigationUIData; | 60 class NavigationUIData; |
65 class RenderFrameHostImpl; | 61 class RenderFrameHostImpl; |
66 class ResourceContext; | 62 class ResourceContext; |
67 class ResourceDispatcherHostDelegate; | 63 class ResourceDispatcherHostDelegate; |
68 class ResourceHandler; | 64 class ResourceHandler; |
69 class ResourceMessageDelegate; | 65 class ResourceMessageDelegate; |
70 class ResourceMessageFilter; | 66 class ResourceMessageFilter; |
71 class ResourceRequestInfoImpl; | 67 class ResourceRequestInfoImpl; |
72 class ServiceWorkerNavigationHandleCore; | 68 class ServiceWorkerNavigationHandleCore; |
73 struct CommonNavigationParams; | |
74 struct NavigationRequestInfo; | 69 struct NavigationRequestInfo; |
75 struct Referrer; | 70 struct Referrer; |
76 struct ResourceRequest; | 71 struct ResourceRequest; |
77 | 72 |
78 namespace mojom { | 73 namespace mojom { |
79 class URLLoader; | 74 class URLLoader; |
80 } // namespace mojom | 75 } // namespace mojom |
81 | 76 |
82 using CreateDownloadHandlerIntercept = | 77 using CreateDownloadHandlerIntercept = |
83 base::Callback<std::unique_ptr<ResourceHandler>(net::URLRequest*)>; | 78 base::Callback<std::unique_ptr<ResourceHandler>(net::URLRequest*)>; |
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 | 768 |
774 // Points to the registered download handler intercept. | 769 // Points to the registered download handler intercept. |
775 CreateDownloadHandlerIntercept create_download_handler_intercept_; | 770 CreateDownloadHandlerIntercept create_download_handler_intercept_; |
776 | 771 |
777 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); | 772 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); |
778 }; | 773 }; |
779 | 774 |
780 } // namespace content | 775 } // namespace content |
781 | 776 |
782 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 777 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ |
OLD | NEW |