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

Unified Diff: content/common/navigation_params.cc

Issue 2380943002: Tell renderer which subframes have history items on back/forward. (Closed)
Patch Set: Fix const ref. Created 4 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
« no previous file with comments | « content/common/navigation_params.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index bbb431bf3559cbaa08440d3225a2cb4d98fc076b..fff6ef5acbc3844c768cb1572a118ac821b4a233 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -139,7 +139,6 @@ RequestNavigationParams::RequestNavigationParams()
nav_entry_id(0),
is_same_document_history_load(false),
is_history_navigation_in_new_child(false),
- has_subtree_history_items(false),
has_committed_real_load(false),
intended_as_new_entry(false),
pending_history_list_offset(-1),
@@ -160,7 +159,7 @@ RequestNavigationParams::RequestNavigationParams(
int nav_entry_id,
bool is_same_document_history_load,
bool is_history_navigation_in_new_child,
- bool has_subtree_history_items,
+ std::set<std::string> subframe_unique_names,
bool has_committed_real_load,
bool intended_as_new_entry,
int pending_history_list_offset,
@@ -177,7 +176,7 @@ RequestNavigationParams::RequestNavigationParams(
nav_entry_id(nav_entry_id),
is_same_document_history_load(is_same_document_history_load),
is_history_navigation_in_new_child(is_history_navigation_in_new_child),
- has_subtree_history_items(has_subtree_history_items),
+ subframe_unique_names(subframe_unique_names),
has_committed_real_load(has_committed_real_load),
intended_as_new_entry(intended_as_new_entry),
pending_history_list_offset(pending_history_list_offset),
« no previous file with comments | « content/common/navigation_params.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698