OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
7 | 7 |
8 #include "content/public/browser/navigation_handle.h" | 8 #include "content/public/browser/navigation_handle.h" |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <memory> | |
nasko
2016/08/11 20:07:22
There are no changes to actual code in this header
msramek
2016/08/12 15:06:28
Removed. Sorry for that, another accidental change
| |
13 | |
12 #include "base/callback.h" | 14 #include "base/callback.h" |
13 #include "base/macros.h" | 15 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
16 #include "content/browser/frame_host/frame_tree_node.h" | 18 #include "content/browser/frame_host/frame_tree_node.h" |
17 #include "content/browser/frame_host/render_frame_host_impl.h" | 19 #include "content/browser/frame_host/render_frame_host_impl.h" |
18 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
19 #include "content/public/browser/navigation_data.h" | 21 #include "content/public/browser/navigation_data.h" |
20 #include "content/public/browser/navigation_throttle.h" | 22 #include "content/public/browser/navigation_throttle.h" |
21 #include "content/public/common/request_context_type.h" | 23 #include "content/public/common/request_context_type.h" |
22 #include "url/gurl.h" | 24 #include "url/gurl.h" |
23 | 25 |
24 struct FrameHostMsg_DidCommitProvisionalLoad_Params; | 26 struct FrameHostMsg_DidCommitProvisionalLoad_Params; |
25 | 27 |
26 namespace content { | 28 namespace content { |
27 | 29 |
30 class ClearSiteDataHeaderObserver; | |
nasko
2016/08/11 20:07:22
Why is this forward declare needed?
msramek
2016/08/12 15:06:28
Removed. Ditto as above.
| |
28 class NavigatorDelegate; | 31 class NavigatorDelegate; |
29 class ResourceRequestBodyImpl; | 32 class ResourceRequestBodyImpl; |
30 | 33 |
31 // This class keeps track of a single navigation. It is created upon receipt of | 34 // This class keeps track of a single navigation. It is created upon receipt of |
32 // a DidStartProvisionalLoad IPC in a RenderFrameHost. The RenderFrameHost owns | 35 // a DidStartProvisionalLoad IPC in a RenderFrameHost. The RenderFrameHost owns |
33 // the newly created NavigationHandleImpl as long as the navigation is ongoing. | 36 // the newly created NavigationHandleImpl as long as the navigation is ongoing. |
34 // The NavigationHandleImpl in the RenderFrameHost will be reset when the | 37 // The NavigationHandleImpl in the RenderFrameHost will be reset when the |
35 // navigation stops, that is if one of the following events happen: | 38 // navigation stops, that is if one of the following events happen: |
36 // - The RenderFrameHost receives a DidStartProvisionalLoad IPC for a new | 39 // - The RenderFrameHost receives a DidStartProvisionalLoad IPC for a new |
37 // navigation (see below for special cases where the DidStartProvisionalLoad | 40 // navigation (see below for special cases where the DidStartProvisionalLoad |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
318 | 321 |
319 // Embedder data tied to this navigation. | 322 // Embedder data tied to this navigation. |
320 std::unique_ptr<NavigationData> navigation_data_; | 323 std::unique_ptr<NavigationData> navigation_data_; |
321 | 324 |
322 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); | 325 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
323 }; | 326 }; |
324 | 327 |
325 } // namespace content | 328 } // namespace content |
326 | 329 |
327 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 330 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
OLD | NEW |