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

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

Issue 1010243002: PlzNavigate: Properly set the pending entry in the NavigatorImpl unit test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/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 c7df11d36fa8b403ade443fcfea012aeda3a204b..b1cecd569f7d5c1dacab32bbbb42361f1e8a9116 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -202,6 +202,9 @@ class CONTENT_EXPORT NavigationControllerImpl
// Discards only the pending entry.
void DiscardPendingEntry();
+ // Sets the entry and index of the pending entry. Only for testing.
+ void SetPendingEntryAndIndexForTesting(int index);
+
private:
friend class RestoreHelper;

Powered by Google App Engine
This is Rietveld 408576698