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

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

Issue 483773002: PlzNavigate: implement CommitNavigation on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Nasko's comments Created 6 years, 3 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 82fac02487532cde807c85d0998f6f02246e29b4..c1b23ec06a3566c7d2322ddae3478b85419328ed 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -207,6 +207,14 @@ class CONTENT_EXPORT NavigationControllerImpl
// Discards only the pending entry.
void DiscardPendingEntry();
+ // Fills in the history parameters required by FrameMsg_Navigate and
+ // FrameMsg_CommitNavigation.
+ void FillHistoryParametersForNavigationEntry(
+ const NavigationEntryImpl& entry,
+ int* pending_history_list_offset,
+ int* current_history_list_offset,
+ int* current_history_list_length) const;
+
private:
friend class RestoreHelper;
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_controller_impl.cc » ('j') | content/browser/frame_host/navigator_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698