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

Unified Diff: content/common/navigation_params.h

Issue 1182453002: PlzNavigate: support for should_replace_current_entry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.h
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h
index 805947112128c488e913acfe684a6239da38e244..c81c5daad19b7d9c240b96e7fcdf1dee34daaebe 100644
--- a/content/common/navigation_params.h
+++ b/content/common/navigation_params.h
@@ -39,7 +39,8 @@ struct CONTENT_EXPORT CommonNavigationParams {
base::TimeTicks ui_timestamp,
FrameMsg_UILoadMetricsReportType::Value report_type,
const GURL& base_url_for_data_url,
- const GURL& history_url_for_data_url);
+ const GURL& history_url_for_data_url,
+ bool lock_history_list);
~CommonNavigationParams();
// The URL to navigate to.
@@ -75,6 +76,11 @@ struct CONTENT_EXPORT CommonNavigationParams {
// History URL for use in Blink's SubstituteData.
// Is only used with data: URLs.
GURL history_url_for_data_url;
+
+ // PlzNavigate
+ // Whether the navigation should generate a new entry in the history list on
+ // commit. This is false for many client-side redirects.
+ bool lock_history_list;
Avi (use Gerrit) 2015/06/11 19:09:01 The meaning of this is unclear. The comment says
};
// Provided by the renderer ----------------------------------------------------
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698