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 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" | 7 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 #include "webkit/appcache/appcache_interceptor.h" | 78 #include "webkit/appcache/appcache_interceptor.h" |
79 #include "webkit/appcache/appcache_interfaces.h" | 79 #include "webkit/appcache/appcache_interfaces.h" |
80 #include "webkit/blob/blob_storage_controller.h" | 80 #include "webkit/blob/blob_storage_controller.h" |
81 #include "webkit/blob/shareable_file_reference.h" | 81 #include "webkit/blob/shareable_file_reference.h" |
82 #include "webkit/glue/resource_request_body.h" | 82 #include "webkit/glue/resource_request_body.h" |
83 #include "webkit/glue/webkit_glue.h" | 83 #include "webkit/glue/webkit_glue.h" |
84 | 84 |
85 using base::Time; | 85 using base::Time; |
86 using base::TimeDelta; | 86 using base::TimeDelta; |
87 using base::TimeTicks; | 87 using base::TimeTicks; |
88 using content::WebContentsImpl; | |
89 using webkit_blob::ShareableFileReference; | 88 using webkit_blob::ShareableFileReference; |
90 using webkit_glue::ResourceRequestBody; | 89 using webkit_glue::ResourceRequestBody; |
91 | 90 |
92 // ---------------------------------------------------------------------------- | 91 // ---------------------------------------------------------------------------- |
93 | 92 |
94 namespace content { | 93 namespace content { |
95 | 94 |
96 namespace { | 95 namespace { |
97 | 96 |
98 static ResourceDispatcherHostImpl* g_resource_dispatcher_host; | 97 static ResourceDispatcherHostImpl* g_resource_dispatcher_host; |
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1722 | 1721 |
1723 return i->second.get(); | 1722 return i->second.get(); |
1724 } | 1723 } |
1725 | 1724 |
1726 ResourceLoader* ResourceDispatcherHostImpl::GetLoader(int child_id, | 1725 ResourceLoader* ResourceDispatcherHostImpl::GetLoader(int child_id, |
1727 int request_id) const { | 1726 int request_id) const { |
1728 return GetLoader(GlobalRequestID(child_id, request_id)); | 1727 return GetLoader(GlobalRequestID(child_id, request_id)); |
1729 } | 1728 } |
1730 | 1729 |
1731 } // namespace content | 1730 } // namespace content |
OLD | NEW |