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 b7039f5cbe7b8a6959f6c2d93bb69a65f7f27c21..6e813a75af4a35a5cd069a8862a129b3bc7ef803 100644 |
--- a/content/browser/frame_host/render_frame_host_manager.h |
+++ b/content/browser/frame_host/render_frame_host_manager.h |
@@ -17,6 +17,7 @@ |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/common/referrer.h" |
+struct FrameHostMsg_BeginNavigation_Params; |
namespace content { |
class BrowserContext; |
@@ -27,6 +28,7 @@ class FrameTreeNode; |
class NavigationControllerImpl; |
class NavigationEntry; |
class NavigationEntryImpl; |
+class NavigationRequest; |
class RenderFrameHost; |
class RenderFrameHostDelegate; |
class RenderFrameHostImpl; |
@@ -300,6 +302,9 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver { |
// of WebContentsImpl. |
void ResetProxyHosts(); |
+ // Used to start a navigation, part of PlzNavigate project. |
+ void BeginNavigation(const FrameHostMsg_BeginNavigation_Params& params); |
clamy
2014/07/03 15:10:51
I think it would also be possible to put this meth
|
+ |
private: |
friend class RenderFrameHostManagerTest; |
friend class TestWebContents; |
@@ -494,6 +499,9 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver { |
NotificationRegistrar registrar_; |
+ // Owns a navigation request that originated in that frame until it commits. |
+ scoped_ptr<NavigationRequest> navigation_request_; |
+ |
base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |