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

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

Issue 19699007: Ensure we don't crash if user navigates back from NTP to Chrome sign-in page before it has fully lo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing indent. Created 7 years, 5 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
« no previous file with comments | « content/browser/web_contents/navigation_controller_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index 382612ba4db32271407f3747f8de5a39791cf129..0f77d7e0a4f0f7cd3ccaaabc245be0bc52152e51 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -335,10 +335,10 @@ class NavigationController {
// Removing of entries -------------------------------------------------------
- // Removes the entry at the specified |index|. This call dicards any pending
- // and transient entries. If the index is the last committed index, this does
- // nothing and returns false.
- virtual void RemoveEntryAtIndex(int index) = 0;
+ // Removes the entry at the specified |index|. This call discards any
+ // transient entries. If the index is the last committed index or the pending
+ // entry, this does nothing and returns false.
+ virtual bool RemoveEntryAtIndex(int index) = 0;
// Random --------------------------------------------------------------------
« no previous file with comments | « content/browser/web_contents/navigation_controller_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698