| Index: content/browser/frame_host/navigator.h
|
| diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
|
| index 05caf6abbd14b30c27ba13b4e8e0249b4ca0ab43..1580753ec3ed0ed39d8bb14017c215f9625e6d24 100644
|
| --- a/content/browser/frame_host/navigator.h
|
| +++ b/content/browser/frame_host/navigator.h
|
| @@ -27,6 +27,7 @@ class FrameNavigationEntry;
|
| class FrameTreeNode;
|
| class NavigationControllerImpl;
|
| class NavigationEntryImpl;
|
| +class NavigationHandleImpl;
|
| class NavigationRequest;
|
| class RenderFrameHostImpl;
|
| class ResourceRequestBodyImpl;
|
| @@ -179,6 +180,14 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
|
| const base::TimeTicks& renderer_before_unload_start_time,
|
| const base::TimeTicks& renderer_before_unload_end_time) {}
|
|
|
| + // Returns the NavigationHandle associated with a navigation in
|
| + // |render_frame_host|. Normally, each frame can have its own
|
| + // NavigationHandle. However, in the case of a navigation to an interstitial
|
| + // page, there's just one NavigationHandle for the whole page (since it's
|
| + // assumed to only have one RenderFrameHost and navigate once).
|
| + virtual NavigationHandleImpl* GetNavigationHandleForFrameHost(
|
| + RenderFrameHostImpl* render_frame_host);
|
| +
|
| protected:
|
| friend class base::RefCounted<Navigator>;
|
| virtual ~Navigator() {}
|
|
|