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

Unified Diff: content/common/navigation_params.cc

Issue 2406053002: PlzNavigate: Fix the failing ContinueWhereILeftOffTest.PostWithPassword test. (Closed)
Patch Set: Fix test failures Created 4 years, 2 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 594bff84123d221f1c9779e27ed3b2a5a52df1bf..639689db4ac1ca183ba845fea99adcd6a810f2d4 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -36,7 +36,8 @@ CommonNavigationParams::CommonNavigationParams()
report_type(FrameMsg_UILoadMetricsReportType::NO_REPORT),
lofi_state(LOFI_UNSPECIFIED),
navigation_start(base::TimeTicks::Now()),
- method("GET") {}
+ method("GET"),
+ post_contains_passwords(false) {}
CommonNavigationParams::CommonNavigationParams(
const GURL& url,
@@ -52,6 +53,7 @@ CommonNavigationParams::CommonNavigationParams(
LoFiState lofi_state,
const base::TimeTicks& navigation_start,
std::string method,
+ bool post_contains_passwords,
const scoped_refptr<ResourceRequestBodyImpl>& post_data)
: url(url),
referrer(referrer),
@@ -66,6 +68,7 @@ CommonNavigationParams::CommonNavigationParams(
lofi_state(lofi_state),
navigation_start(navigation_start),
method(method),
+ post_contains_passwords(post_contains_passwords),
post_data(post_data) {
// |method != "POST"| should imply absence of |post_data|.
if (method != "POST" && post_data) {

Powered by Google App Engine
This is Rietveld 408576698