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

Unified Diff: content/common/navigation_params.h

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.h
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h
index 765d3cb69dda71b29ed9e10db69ba0b7b1f8d9c5..4599d3df8b450ed8a55a62aa2c736a5d34d33051 100644
--- a/content/common/navigation_params.h
+++ b/content/common/navigation_params.h
@@ -66,6 +66,7 @@ struct CONTENT_EXPORT CommonNavigationParams {
LoFiState lofi_state,
const base::TimeTicks& navigation_start,
std::string method,
+ bool post_contains_passwords,
const scoped_refptr<ResourceRequestBodyImpl>& post_data);
CommonNavigationParams(const CommonNavigationParams& other);
~CommonNavigationParams();
@@ -125,6 +126,9 @@ struct CONTENT_EXPORT CommonNavigationParams {
// The request method: GET, POST, etc.
std::string method;
+ // Indicates if the post data below contains passwords.
+ bool post_contains_passwords;
+
// Body of HTTP POST request.
scoped_refptr<ResourceRequestBodyImpl> post_data;
};

Powered by Google App Engine
This is Rietveld 408576698