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

Unified Diff: content/common/resource_request_body_impl.h

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 | « content/common/resource_messages.cc ('k') | content/common/resource_request_body_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_request_body_impl.h
diff --git a/content/common/resource_request_body_impl.h b/content/common/resource_request_body_impl.h
index 4cc8ad04b8bf709812c7ff6281abf83c13ab635c..bb74d6a8f7c613571533219f6b1d614bdc80a81d 100644
--- a/content/common/resource_request_body_impl.h
+++ b/content/common/resource_request_body_impl.h
@@ -58,12 +58,21 @@ class CONTENT_EXPORT ResourceRequestBodyImpl : public ResourceRequestBody,
// Returns paths referred to by |elements| of type Element::TYPE_FILE.
std::vector<base::FilePath> GetReferencedFiles() const;
+ // Sets the flag which indicates whether the post data contains sensitive
+ // information like passwords.
+ void set_contains_sensitive_info(bool contains_sensitive_info) {
+ contains_sensitive_info_ = contains_sensitive_info;
+ }
+ bool contains_sensitive_info() const { return contains_sensitive_info_; }
+
private:
~ResourceRequestBodyImpl() override;
std::vector<Element> elements_;
int64_t identifier_;
+ bool contains_sensitive_info_;
+
DISALLOW_COPY_AND_ASSIGN(ResourceRequestBodyImpl);
};
« no previous file with comments | « content/common/resource_messages.cc ('k') | content/common/resource_request_body_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698