Index: content/browser/tab_contents/tab_contents.h |
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h |
index 0a7403a2897691f27483ea3c82f1884c8d6eb55c..0e0573bddf77cd980aab92845b605c54796b4dcf 100644 |
--- a/content/browser/tab_contents/tab_contents.h |
+++ b/content/browser/tab_contents/tab_contents.h |
@@ -627,8 +627,10 @@ class TabContents : public PageNavigator, |
// 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); |
- |
+ // virtual for testing. |
Charlie Reis
2011/08/13 00:29:04
Nit: capitalize virtual here.
cbentzel
2011/08/13 02:19:12
Done.
|
+ virtual void SetHistoryLengthAndPrune(const SiteInstance* site_instance, |
+ int merge_history_length, |
+ int32 minimum_page_id); |
// Misc non-view stuff ------------------------------------------------------- |