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

Unified Diff: content/public/renderer/navigation_state.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: unit tests 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/public/renderer/navigation_state.cc
diff --git a/content/public/renderer/navigation_state.cc b/content/public/renderer/navigation_state.cc
index e5f91fa8186ee5080a49c9dcb897cceb2322c775..361a6daf5cb8309b2b230695f73fbd4f239f66fe 100644
--- a/content/public/renderer/navigation_state.cc
+++ b/content/public/renderer/navigation_state.cc
@@ -9,12 +9,14 @@ namespace content {
NavigationState::NavigationState(ui::PageTransition transition_type,
bool is_content_initiated,
int32 pending_page_id,
+ int pending_nav_entry_id,
int pending_history_list_offset,
bool history_list_was_cleared)
: transition_type_(transition_type),
request_committed_(false),
is_content_initiated_(is_content_initiated),
pending_page_id_(pending_page_id),
+ pending_nav_entry_id_(pending_nav_entry_id),
pending_history_list_offset_(pending_history_list_offset),
history_list_was_cleared_(history_list_was_cleared),
should_replace_current_entry_(false),

Powered by Google App Engine
This is Rietveld 408576698