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

Unified Diff: content/child/web_url_request_util.cc

Issue 2406053002: PlzNavigate: Fix the failing ContinueWhereILeftOffTest.PostWithPassword test. (Closed)
Patch Set: Address comments 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
« no previous file with comments | « no previous file | content/common/page_state_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_request_util.cc
diff --git a/content/child/web_url_request_util.cc b/content/child/web_url_request_util.cc
index 51830c388fc82894eaf085e36dc777c19276fb24..777e9b7df85dc42580b60d2314c1a1d78a14788a 100644
--- a/content/child/web_url_request_util.cc
+++ b/content/child/web_url_request_util.cc
@@ -233,6 +233,7 @@ WebHTTPBody GetWebHTTPBodyForRequestBody(
WebHTTPBody http_body;
http_body.initialize();
http_body.setIdentifier(input->identifier());
+ http_body.setContainsPasswordData(input->contains_sensitive_info());
for (const auto& element : *input->elements()) {
switch (element.type()) {
case ResourceRequestBodyImpl::Element::TYPE_BYTES:
@@ -328,6 +329,7 @@ scoped_refptr<ResourceRequestBodyImpl> GetRequestBodyForWebHTTPBody(
}
}
request_body->set_identifier(httpBody.identifier());
+ request_body->set_contains_sensitive_info(httpBody.containsPasswordData());
return request_body;
}
« no previous file with comments | « no previous file | content/common/page_state_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698