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 23 matching lines...) Expand all Loading... |
34 #include "content/common/content_export.h" | 34 #include "content/common/content_export.h" |
35 #include "content/public/browser/child_process_data.h" | 35 #include "content/public/browser/child_process_data.h" |
36 #include "content/public/browser/download_item.h" | 36 #include "content/public/browser/download_item.h" |
37 #include "content/public/browser/download_url_parameters.h" | 37 #include "content/public/browser/download_url_parameters.h" |
38 #include "content/public/browser/global_request_id.h" | 38 #include "content/public/browser/global_request_id.h" |
39 #include "content/public/browser/notification_types.h" | 39 #include "content/public/browser/notification_types.h" |
40 #include "content/public/browser/resource_dispatcher_host.h" | 40 #include "content/public/browser/resource_dispatcher_host.h" |
41 #include "ipc/ipc_message.h" | 41 #include "ipc/ipc_message.h" |
42 #include "net/cookies/canonical_cookie.h" | 42 #include "net/cookies/canonical_cookie.h" |
43 #include "net/url_request/url_request.h" | 43 #include "net/url_request/url_request.h" |
44 #include "webkit/glue/resource_type.h" | 44 #include "webkit/common/resource_type.h" |
45 | 45 |
46 class ResourceHandler; | 46 class ResourceHandler; |
47 struct ResourceHostMsg_Request; | 47 struct ResourceHostMsg_Request; |
48 | 48 |
49 namespace net { | 49 namespace net { |
50 class URLRequestJobFactory; | 50 class URLRequestJobFactory; |
51 } | 51 } |
52 | 52 |
53 namespace webkit_blob { | 53 namespace webkit_blob { |
54 class ShareableFileReference; | 54 class ShareableFileReference; |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 typedef std::map<GlobalRoutingID, OfflinePolicy*> OfflineMap; | 505 typedef std::map<GlobalRoutingID, OfflinePolicy*> OfflineMap; |
506 | 506 |
507 OfflineMap offline_policy_map_; | 507 OfflineMap offline_policy_map_; |
508 | 508 |
509 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); | 509 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); |
510 }; | 510 }; |
511 | 511 |
512 } // namespace content | 512 } // namespace content |
513 | 513 |
514 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 514 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ |
OLD | NEW |