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

Unified Diff: content/common/resource_request_body.h

Issue 2062523002: Fixing renderer's access to a file from HTTP POST (after a xsite transfer). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary logging + simplified condition of an "if" statement. Created 4 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
Index: content/common/resource_request_body.h
diff --git a/content/common/resource_request_body.h b/content/common/resource_request_body.h
index 9c87e570661c746f1edcf2e30dc72bc0aa969060..50d3156a1969ded21a2e3e38dc5f47044101f8c2 100644
--- a/content/common/resource_request_body.h
+++ b/content/common/resource_request_body.h
@@ -55,6 +55,9 @@ class CONTENT_EXPORT ResourceRequestBody
void set_identifier(int64_t id) { identifier_ = id; }
int64_t identifier() const { return identifier_; }
+ // Returns paths referred to by |elements| of type Element::TYPE_FILE.
+ std::vector<base::FilePath> GetReferencedFiles() const;
+
private:
friend class base::RefCountedThreadSafe<ResourceRequestBody>;
~ResourceRequestBody() override;

Powered by Google App Engine
This is Rietveld 408576698