OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_NAVIGATOR_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/containers/scoped_ptr_hash_map.h" | 10 #include "base/containers/scoped_ptr_hash_map.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 const GURL& url, | 73 const GURL& url, |
74 SiteInstance* source_site_instance, | 74 SiteInstance* source_site_instance, |
75 const std::vector<GURL>& redirect_chain, | 75 const std::vector<GURL>& redirect_chain, |
76 const Referrer& referrer, | 76 const Referrer& referrer, |
77 ui::PageTransition page_transition, | 77 ui::PageTransition page_transition, |
78 const GlobalRequestID& transferred_global_request_id, | 78 const GlobalRequestID& transferred_global_request_id, |
79 bool should_replace_current_entry) override; | 79 bool should_replace_current_entry) override; |
80 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; | 80 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; |
81 void OnBeginNavigation(FrameTreeNode* frame_tree_node, | 81 void OnBeginNavigation(FrameTreeNode* frame_tree_node, |
82 const CommonNavigationParams& common_params, | 82 const CommonNavigationParams& common_params, |
83 const BeginNavigationParams& begin_params, | 83 const BeginNavigationParams& begin_params) override; |
84 scoped_refptr<ResourceRequestBody> body) override; | |
85 void FailedNavigation(FrameTreeNode* frame_tree_node, | 84 void FailedNavigation(FrameTreeNode* frame_tree_node, |
86 bool has_stale_copy_in_cache, | 85 bool has_stale_copy_in_cache, |
87 int error_code) override; | 86 int error_code) override; |
88 void LogResourceRequestTime(base::TimeTicks timestamp, | 87 void LogResourceRequestTime(base::TimeTicks timestamp, |
89 const GURL& url) override; | 88 const GURL& url) override; |
90 void LogBeforeUnloadTime( | 89 void LogBeforeUnloadTime( |
91 const base::TimeTicks& renderer_before_unload_start_time, | 90 const base::TimeTicks& renderer_before_unload_start_time, |
92 const base::TimeTicks& renderer_before_unload_end_time) override; | 91 const base::TimeTicks& renderer_before_unload_end_time) override; |
93 void CancelNavigation(FrameTreeNode* frame_tree_node) override; | 92 void CancelNavigation(FrameTreeNode* frame_tree_node) override; |
94 | 93 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 NavigatorDelegate* delegate_; | 150 NavigatorDelegate* delegate_; |
152 | 151 |
153 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 152 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
154 | 153 |
155 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 154 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
156 }; | 155 }; |
157 | 156 |
158 } // namespace content | 157 } // namespace content |
159 | 158 |
160 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 159 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
OLD | NEW |