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

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: rebase again Created 5 years, 8 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 0e8df3c97cee673054e3bf6b100505270cdf2aaf..191f9c1b8c2484ea9bfc6b2f314ffa4e7ceb02d0 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -84,6 +84,7 @@ RequestNavigationParams::RequestNavigationParams()
can_load_local_resources(false),
request_time(base::Time::Now()),
page_id(-1),
+ nav_entry_id(0),
pending_history_list_offset(-1),
current_history_list_offset(-1),
current_history_list_length(0),
@@ -99,6 +100,7 @@ RequestNavigationParams::RequestNavigationParams(
base::Time request_time,
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,
@@ -111,6 +113,7 @@ RequestNavigationParams::RequestNavigationParams(
request_time(request_time),
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