Index: content/browser/frame_host/navigation_controller_impl.h |
diff --git a/content/browser/frame_host/navigation_controller_impl.h b/content/browser/frame_host/navigation_controller_impl.h |
index da3bbd3c4e8831ac239d6a4cc6fb38d2c3a6e7da..8546940148ef36f7d34c82bc1676238dd7370f80 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.h |
+++ b/content/browser/frame_host/navigation_controller_impl.h |
@@ -107,6 +107,9 @@ class CONTENT_EXPORT NavigationControllerImpl |
int GetEntryIndexWithPageID(SiteInstance* instance, |
int32 page_id) const; |
+ // Return the index of the entry with the given unique id, or -1 if not found. |
+ int GetEntryIndexWithUniqueID(int nav_entry_id) const; |
+ |
// Return the entry with the corresponding instance and page_id, or NULL if |
// not found. |
NavigationEntryImpl* GetEntryWithPageID( |
@@ -231,6 +234,12 @@ class CONTENT_EXPORT NavigationControllerImpl |
NavigationType ClassifyNavigation( |
RenderFrameHostImpl* rfh, |
const FrameHostMsg_DidCommitProvisionalLoad_Params& params) const; |
+ // This does the same as above (hopefully), but does so without any use of |
+ // deprecated page id values. Once it bakes and is verified to behave the |
+ // same, it will replace it. http://crbug.com/369661 |
+ NavigationType ClassifyNavigationWithoutPageID( |
+ RenderFrameHostImpl* rfh, |
+ const FrameHostMsg_DidCommitProvisionalLoad_Params& params) const; |
// Causes the controller to load the specified entry. The function assumes |
// ownership of the pointer since it is put in the navigation list. |