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

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

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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..fecf1ac5e384add95ff85c7bf5bc40f93f695b0b 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;
+class StreamHandle;
+struct ResourceResponse;
// Implementations of this interface are responsible for performing navigations
// in a node of the FrameTree. Its lifetime is bound to all FrameTreeNode
@@ -124,7 +125,9 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
// 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) {};
+ const GURL& url,
+ ResourceResponse* response,
+ scoped_ptr<StreamHandle> body);
clamy 2014/09/12 20:51:25 Actually, I don't think you need to pass the Strea
davidben 2014/09/19 18:30:49 Per out-of-band conversation, leaving as-is so own
protected:
friend class base::RefCounted<Navigator>;

Powered by Google App Engine
This is Rietveld 408576698