OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_CORE_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_CORE_H_ |
6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_CORE_H_ | 6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_CORE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "content/browser/loader/navigation_url_loader_impl.h" | 12 #include "content/browser/loader/navigation_url_loader_impl.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 class URLRequest; | |
16 struct RedirectInfo; | 15 struct RedirectInfo; |
17 } | 16 } |
18 | 17 |
19 namespace content { | 18 namespace content { |
20 | 19 |
21 class FrameTreeNode; | |
22 class NavigationResourceHandler; | 20 class NavigationResourceHandler; |
23 class NavigationData; | 21 class NavigationData; |
24 class ResourceContext; | 22 class ResourceContext; |
25 class ResourceHandler; | 23 class ResourceHandler; |
26 class ResourceRequestBody; | |
27 class ServiceWorkerNavigationHandleCore; | 24 class ServiceWorkerNavigationHandleCore; |
28 class StreamHandle; | 25 class StreamHandle; |
29 struct ResourceResponse; | 26 struct ResourceResponse; |
30 struct SSLStatus; | 27 struct SSLStatus; |
31 | 28 |
32 // The IO-thread counterpart to the NavigationURLLoaderImpl. It lives on the IO | 29 // The IO-thread counterpart to the NavigationURLLoaderImpl. It lives on the IO |
33 // thread and is owned by the UI-thread NavigationURLLoaderImpl. | 30 // thread and is owned by the UI-thread NavigationURLLoaderImpl. |
34 // NavigationURLLoaderImplCore interacts with the ResourceDispatcherHost stack | 31 // NavigationURLLoaderImplCore interacts with the ResourceDispatcherHost stack |
35 // and forwards signals back to the loader on the UI thread. | 32 // and forwards signals back to the loader on the UI thread. |
36 class NavigationURLLoaderImplCore { | 33 class NavigationURLLoaderImplCore { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 private: | 70 private: |
74 base::WeakPtr<NavigationURLLoaderImpl> loader_; | 71 base::WeakPtr<NavigationURLLoaderImpl> loader_; |
75 NavigationResourceHandler* resource_handler_; | 72 NavigationResourceHandler* resource_handler_; |
76 | 73 |
77 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderImplCore); | 74 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderImplCore); |
78 }; | 75 }; |
79 | 76 |
80 } // namespace content | 77 } // namespace content |
81 | 78 |
82 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_CORE_H_ | 79 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_CORE_H_ |
OLD | NEW |