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

Unified Diff: content/common/navigation_params.cc

Issue 1002803002: Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better crash url 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/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index 18628b4ac8697d5a6ffaccbca33f4eea8db309bc..5e2b643c5dddc81b5c0b16f47956255627b2cf34 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -80,6 +80,7 @@ CommitNavigationParams::~CommitNavigationParams() {}
HistoryNavigationParams::HistoryNavigationParams()
: page_id(-1),
+ nav_entry_id(0),
pending_history_list_offset(-1),
current_history_list_offset(-1),
current_history_list_length(0),
@@ -89,12 +90,14 @@ HistoryNavigationParams::HistoryNavigationParams()
HistoryNavigationParams::HistoryNavigationParams(
const PageState& page_state,
int32 page_id,
+ int nav_entry_id,
int pending_history_list_offset,
int current_history_list_offset,
int current_history_list_length,
bool should_clear_history_list)
: page_state(page_state),
page_id(page_id),
+ nav_entry_id(nav_entry_id),
pending_history_list_offset(pending_history_list_offset),
current_history_list_offset(current_history_list_offset),
current_history_list_length(current_history_list_length),

Powered by Google App Engine
This is Rietveld 408576698