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

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

Issue 8082019: more content exports needed for unit_tests and browser_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert export of browser_accessibility_win for now Created 9 years, 3 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: content/browser/tab_contents/navigation_controller.h
diff --git a/content/browser/tab_contents/navigation_controller.h b/content/browser/tab_contents/navigation_controller.h
index d63a1eda77f22179c824caaac596704375626d6c..dff4d761e5aae1a3bfe75d297f8d53ef16f0349f 100644
--- a/content/browser/tab_contents/navigation_controller.h
+++ b/content/browser/tab_contents/navigation_controller.h
@@ -311,11 +311,9 @@ class CONTENT_EXPORT NavigationController {
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) {
+ static void set_max_entry_count_for_testing(size_t max_entry_count) {
max_entry_count_ = max_entry_count;
}
-#endif
static size_t max_entry_count() { return max_entry_count_; }
// Cancels a repost that brought up a warning.

Powered by Google App Engine
This is Rietveld 408576698