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

Unified Diff: content/browser/frame_host/navigator_impl.h

Issue 2901833002: Create NavigationHandle after beforeunload with PlzNavigate. (Closed)
Patch Set: small fix from jam Created 3 years, 7 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigator_impl.h
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h
index 77ed79ef878ede9a2af58bf307d6fc0930223065..648e209db1b7a35d1293b8282ec34a3a6b6020ec 100644
--- a/content/browser/frame_host/navigator_impl.h
+++ b/content/browser/frame_host/navigator_impl.h
@@ -85,7 +85,9 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator {
const std::string& method,
scoped_refptr<ResourceRequestBodyImpl> post_body,
const std::string& extra_headers) override;
- void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override;
+ void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node,
+ bool proceed,
+ const base::TimeTicks& proceed_time) override;
void OnBeginNavigation(FrameTreeNode* frame_tree_node,
const CommonNavigationParams& common_params,
const BeginNavigationParams& begin_params) override;
@@ -97,7 +99,7 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator {
const base::TimeTicks& renderer_before_unload_end_time) override;
void CancelNavigation(FrameTreeNode* frame_tree_node,
bool inform_renderer) override;
- void DiscardPendingEntryIfNeeded(NavigationHandleImpl* handle) override;
+ void DiscardPendingEntryIfNeeded(int expected_pending_entry_id) override;
private:
// Holds data used to track browser side navigation metrics.
« 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