| 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 "base/containers/scoped_ptr_hash_map.h" | 8 #include "base/containers/scoped_ptr_hash_map.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 ui::PageTransition page_transition, | 73 ui::PageTransition page_transition, |
| 74 const GlobalRequestID& transferred_global_request_id, | 74 const GlobalRequestID& transferred_global_request_id, |
| 75 bool should_replace_current_entry) override; | 75 bool should_replace_current_entry) override; |
| 76 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; | 76 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; |
| 77 void OnBeginNavigation(FrameTreeNode* frame_tree_node, | 77 void OnBeginNavigation(FrameTreeNode* frame_tree_node, |
| 78 const CommonNavigationParams& common_params, | 78 const CommonNavigationParams& common_params, |
| 79 const BeginNavigationParams& begin_params, | 79 const BeginNavigationParams& begin_params, |
| 80 scoped_refptr<ResourceRequestBody> body) override; | 80 scoped_refptr<ResourceRequestBody> body) override; |
| 81 void CommitNavigation(FrameTreeNode* frame_tree_node, | 81 void CommitNavigation(FrameTreeNode* frame_tree_node, |
| 82 ResourceResponse* response, | 82 ResourceResponse* response, |
| 83 scoped_ptr<StreamHandle> body) override; | 83 scoped_ptr<StreamHandle> body, |
| 84 mojo::ScopedDataPipeConsumerHandle data_consumer_handle)
override; |
| 84 void FailedNavigation(FrameTreeNode* frame_tree_node, | 85 void FailedNavigation(FrameTreeNode* frame_tree_node, |
| 85 bool has_stale_copy_in_cache, | 86 bool has_stale_copy_in_cache, |
| 86 int error_code) override; | 87 int error_code) override; |
| 87 void LogResourceRequestTime(base::TimeTicks timestamp, | 88 void LogResourceRequestTime(base::TimeTicks timestamp, |
| 88 const GURL& url) override; | 89 const GURL& url) override; |
| 89 void LogBeforeUnloadTime( | 90 void LogBeforeUnloadTime( |
| 90 const base::TimeTicks& renderer_before_unload_start_time, | 91 const base::TimeTicks& renderer_before_unload_start_time, |
| 91 const base::TimeTicks& renderer_before_unload_end_time) override; | 92 const base::TimeTicks& renderer_before_unload_end_time) override; |
| 92 void CancelNavigation(FrameTreeNode* frame_tree_node) override; | 93 void CancelNavigation(FrameTreeNode* frame_tree_node) override; |
| 93 | 94 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 NavigatorDelegate* delegate_; | 149 NavigatorDelegate* delegate_; |
| 149 | 150 |
| 150 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 151 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
| 151 | 152 |
| 152 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 153 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
| 153 }; | 154 }; |
| 154 | 155 |
| 155 } // namespace content | 156 } // namespace content |
| 156 | 157 |
| 157 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 158 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| OLD | NEW |