Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1680)

Unified Diff: chrome/browser/tab_contents/navigation_controller.h

Issue 1090002: Send session history offset and length parameters in the Navigate message to... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/navigation_controller.h
===================================================================
--- chrome/browser/tab_contents/navigation_controller.h (revision 41858)
+++ chrome/browser/tab_contents/navigation_controller.h (working copy)
@@ -395,9 +395,11 @@
static void DisablePromptOnRepost();
// Maximum number of entries before we start removing entries from the front.
+#ifdef UNIT_TEST
static void set_max_entry_count(size_t max_entry_count) {
max_entry_count_ = max_entry_count;
}
+#endif
static size_t max_entry_count() { return max_entry_count_; }
private:

Powered by Google App Engine
This is Rietveld 408576698