diff options
Diffstat (limited to 'content/browser/tab_contents/tab_contents.h')
-rw-r--r-- | content/browser/tab_contents/tab_contents.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h index 13b5c28..3f416e4 100644 --- a/content/browser/tab_contents/tab_contents.h +++ b/content/browser/tab_contents/tab_contents.h @@ -626,9 +626,10 @@ class TabContents : public PageNavigator, // Sets the history for this tab_contents to |history_length| entries, and // moves the current page_id to the last entry in the list if it's valid. // This is mainly used when a prerendered page is swapped into the current - // tab. - void SetHistoryLengthAndClear(int history_length); - + // tab. The method is virtual for testing. + virtual void SetHistoryLengthAndPrune(const SiteInstance* site_instance, + int merge_history_length, + int32 minimum_page_id); // Misc non-view stuff ------------------------------------------------------- |