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..145ecb653ece5886919b611ab9e058b0e3bf0199 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,11 @@ 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. http://crbug.com/369661 |
Charlie Reis
2015/04/10 23:54:21
Also mention that it will replace ClassifyNavigati
Avi (use Gerrit)
2015/04/13 22:42:48
Done.
|
+ 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. |