Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Side by Side Diff: content/browser/frame_host/navigator_impl.h

Issue 2710643003: PlzNavigate: remove NavigatorImpl::FailedNavigation (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/macros.h" 10 #include "base/macros.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ui::PageTransition page_transition, 81 ui::PageTransition page_transition,
82 const GlobalRequestID& transferred_global_request_id, 82 const GlobalRequestID& transferred_global_request_id,
83 bool should_replace_current_entry, 83 bool should_replace_current_entry,
84 const std::string& method, 84 const std::string& method,
85 scoped_refptr<ResourceRequestBodyImpl> post_body, 85 scoped_refptr<ResourceRequestBodyImpl> post_body,
86 const std::string& extra_headers) override; 86 const std::string& extra_headers) override;
87 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; 87 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override;
88 void OnBeginNavigation(FrameTreeNode* frame_tree_node, 88 void OnBeginNavigation(FrameTreeNode* frame_tree_node,
89 const CommonNavigationParams& common_params, 89 const CommonNavigationParams& common_params,
90 const BeginNavigationParams& begin_params) override; 90 const BeginNavigationParams& begin_params) override;
91 void FailedNavigation(FrameTreeNode* frame_tree_node,
92 bool has_stale_copy_in_cache,
93 int error_code) override;
94 void LogResourceRequestTime(base::TimeTicks timestamp, 91 void LogResourceRequestTime(base::TimeTicks timestamp,
95 const GURL& url) override; 92 const GURL& url) override;
96 void LogBeforeUnloadTime( 93 void LogBeforeUnloadTime(
97 const base::TimeTicks& renderer_before_unload_start_time, 94 const base::TimeTicks& renderer_before_unload_start_time,
98 const base::TimeTicks& renderer_before_unload_end_time) override; 95 const base::TimeTicks& renderer_before_unload_end_time) override;
99 void CancelNavigation(FrameTreeNode* frame_tree_node) override; 96 void CancelNavigation(FrameTreeNode* frame_tree_node) override;
100 void DiscardPendingEntryIfNeeded(NavigationHandleImpl* handle) override; 97 void DiscardPendingEntryIfNeeded(NavigationHandleImpl* handle) override;
101 98
102 private: 99 private:
103 // Holds data used to track browser side navigation metrics. 100 // Holds data used to track browser side navigation metrics.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 NavigatorDelegate* delegate_; 154 NavigatorDelegate* delegate_;
158 155
159 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 156 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
160 157
161 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 158 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
162 }; 159 };
163 160
164 } // namespace content 161 } // namespace content
165 162
166 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 163 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698