Index: ios/web/navigation/crw_session_controller.h |
diff --git a/ios/web/navigation/crw_session_controller.h b/ios/web/navigation/crw_session_controller.h |
index 4ed7a98d0b56776511224473f27a4e43ca667bec..301f3e3dd6decf7e139e0f0f75ff00fb1e94427e 100644 |
--- a/ios/web/navigation/crw_session_controller.h |
+++ b/ios/web/navigation/crw_session_controller.h |
@@ -134,7 +134,8 @@ struct Referrer; |
- (void)copyStateFromSessionControllerAndPrune:(CRWSessionController*)source; |
// Sets |lastCommittedItemIndex| to the |index| if it's in the entries bounds. |
-- (void)goToItemAtIndex:(NSInteger)index; |
+// Discards pending and transient entries if |discard| is YES. |
+- (void)goToItemAtIndex:(NSInteger)index discardNonCommittedItems:(BOOL)discard; |
// Removes the item at |index| after discarding any noncomitted entries. |
// |index| must not be the index of the last committed item, or a noncomitted |