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

Unified Diff: content/browser/frame_host/navigation_controller_impl.h

Issue 69013004: Renamed CanPruneAllButVisible and PruneAllButVisible in the Navigation Controller to CanPruneAllBut… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed some unit tests Created 7 years, 1 month 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/frame_host/navigation_controller_impl.h
diff --git a/content/browser/frame_host/navigation_controller_impl.h b/content/browser/frame_host/navigation_controller_impl.h
index 916bf7800d8b68d762a1b2d9a834e8194076eb03..eb566c203181a1c02389f9642bfaeadab9abe363 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -90,8 +90,8 @@ class CONTENT_EXPORT NavigationControllerImpl
const NavigationController& source) OVERRIDE;
virtual void CopyStateFromAndPrune(
NavigationController* source) OVERRIDE;
- virtual bool CanPruneAllButVisible() OVERRIDE;
- virtual void PruneAllButVisible() OVERRIDE;
+ virtual bool CanPruneAllButLastCommitted() OVERRIDE;
+ virtual void PruneAllButLastCommitted() OVERRIDE;
virtual void ClearAllScreenshots() OVERRIDE;
// The session storage namespace that all child RenderViews belonging to
@@ -301,10 +301,11 @@ class CONTENT_EXPORT NavigationControllerImpl
void PruneOldestEntryIfFull();
// Removes all entries except the last committed entry. If there is a new
- // pending navigation it is preserved. In contrast to PruneAllButVisible()
- // this does not update the session history of the RenderView. Callers
- // must ensure that |CanPruneAllButVisible| returns true before calling this.
- void PruneAllButVisibleInternal();
+ // pending navigation it is preserved. In contrast to
+ // PruneAllButLastCommitted() this does not update the session history of the
+ // RenderView. Callers must ensure that |CanPruneAllButLastCommitted| returns
+ // true before calling this.
+ void PruneAllButLastCommittedInternal();
// Returns true if the navigation is likley to be automatic rather than
// user-initiated.
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698