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

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

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index 4ca45465a893d4baef082852fc331a7f6a924c31..3b8c861e3fea7ddcb9641f47e23defdaf7a4a6b1 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -41,9 +41,10 @@ class RenderViewHost;
class RenderViewHostImpl;
class RenderWidgetHostDelegate;
class RenderWidgetHostView;
+class StreamHandle;
class TestWebContents;
class WebUIImpl;
-struct NavigationBeforeCommitInfo;
+struct ResourceResponse;
// Manages RenderFrameHosts for a FrameTreeNode. This class acts as a state
// machine to make cross-process navigations in a frame possible.
@@ -329,7 +330,9 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver {
// PlzNavigate: Called when a navigation request has received a response, to
// select a renderer to use for the navigation.
- void CommitNavigation(const NavigationBeforeCommitInfo& info);
+ void CommitNavigation(const GURL& url,
+ ResourceResponse* response,
+ scoped_ptr<StreamHandle> body);
private:
friend class RenderFrameHostManagerTest;

Powered by Google App Engine
This is Rietveld 408576698