| Index: content/browser/tab_contents/navigation_controller_impl.h
|
| diff --git a/content/browser/tab_contents/navigation_controller_impl.h b/content/browser/tab_contents/navigation_controller_impl.h
|
| index a261ecc68d69b5aada9dfaed26aaf5b44ef7b2a4..e02e8a9edeb6892aed0f73d5c4f3959c30d10f08 100644
|
| --- a/content/browser/tab_contents/navigation_controller_impl.h
|
| +++ b/content/browser/tab_contents/navigation_controller_impl.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -248,6 +248,10 @@ class CONTENT_EXPORT NavigationControllerImpl
|
| // Discards the transient entry.
|
| void DiscardTransientEntry();
|
|
|
| + // If we have the maximum number of entries, remove the oldest one in
|
| + // preparation to add another.
|
| + void PruneOldestEntryIfFull();
|
| +
|
| // Returns true if the navigation is redirect.
|
| bool IsRedirect(const ViewHostMsg_FrameNavigate_Params& params);
|
|
|
|
|