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

Unified Diff: content/common/resource_request_body_impl.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: Moving FileChooserDelegate into content_browser_test_utils_*internal*.h 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
« no previous file with comments | « content/browser/session_history_browsertest.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 81e46d18dfb5b4d269f91dc03343f8be7b463b95..4cc8ad04b8bf709812c7ff6281abf83c13ab635c 100644
--- a/content/common/resource_request_body_impl.h
+++ b/content/common/resource_request_body_impl.h
@@ -55,6 +55,9 @@ class CONTENT_EXPORT ResourceRequestBodyImpl : public 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:
~ResourceRequestBodyImpl() override;
« no previous file with comments | « content/browser/session_history_browsertest.cc ('k') | content/common/resource_request_body_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698