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_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_H_ |
6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_H_ | 6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 class BrowserContext; | 15 class BrowserContext; |
16 class NavigationUIData; | 16 class NavigationUIData; |
17 class NavigationURLLoaderDelegate; | 17 class NavigationURLLoaderDelegate; |
18 class NavigationURLLoaderFactory; | 18 class NavigationURLLoaderFactory; |
19 class ServiceWorkerNavigationHandle; | 19 class ServiceWorkerNavigationHandle; |
20 struct CommonNavigationParams; | |
21 struct NavigationRequestInfo; | 20 struct NavigationRequestInfo; |
22 | 21 |
23 // PlzNavigate: The navigation logic's UI thread entry point into the resource | 22 // PlzNavigate: The navigation logic's UI thread entry point into the resource |
24 // loading stack. It exposes an interface to control the request prior to | 23 // loading stack. It exposes an interface to control the request prior to |
25 // receiving the response. If the NavigationURLLoader is destroyed before | 24 // receiving the response. If the NavigationURLLoader is destroyed before |
26 // OnResponseStarted is called, the request is aborted. | 25 // OnResponseStarted is called, the request is aborted. |
27 class CONTENT_EXPORT NavigationURLLoader { | 26 class CONTENT_EXPORT NavigationURLLoader { |
28 public: | 27 public: |
29 // Creates a NavigationURLLoader. The caller is responsible for ensuring that | 28 // Creates a NavigationURLLoader. The caller is responsible for ensuring that |
30 // |delegate| outlives the loader. |request_body| must not be accessed on the | 29 // |delegate| outlives the loader. |request_body| must not be accessed on the |
(...skipping 25 matching lines...) Expand all Loading... |
56 protected: | 55 protected: |
57 NavigationURLLoader() {} | 56 NavigationURLLoader() {} |
58 | 57 |
59 private: | 58 private: |
60 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoader); | 59 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoader); |
61 }; | 60 }; |
62 | 61 |
63 } // namespace content | 62 } // namespace content |
64 | 63 |
65 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_H_ | 64 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_H_ |
OLD | NEW |