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

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

Issue 483773002: PlzNavigate: implement CommitNavigation on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using non-inherited structs Created 6 years, 3 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
Index: content/browser/frame_host/navigator.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index b47654839f0f9d70b0729f2c6284d931e1a4ed7b..83b211c156546993610d9f1b4c48166c842f19fd 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -25,7 +25,8 @@ class NavigationControllerImpl;
class NavigationEntryImpl;
class NavigatorDelegate;
class RenderFrameHostImpl;
-struct NavigationBeforeCommitInfo;
+struct CommitNavigationParams;
+struct CoreNavigationParams;
// Implementations of this interface are responsible for performing navigations
// in a node of the FrameTree. Its lifetime is bound to all FrameTreeNode
@@ -123,8 +124,11 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
// PlzNavigate
// Signal |render_frame_host| that a navigation is ready to commit (the
// response to the navigation request has been received).
- virtual void CommitNavigation(RenderFrameHostImpl* render_frame_host,
- const NavigationBeforeCommitInfo& info) {};
+ virtual void CommitNavigation(
+ RenderFrameHostImpl* render_frame_host,
+ const GURL& stream_url,
+ const CoreNavigationParams& core_params,
+ const CommitNavigationParams& commit_params) {}
protected:
friend class base::RefCounted<Navigator>;

Powered by Google App Engine
This is Rietveld 408576698