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

Unified Diff: content/common/resource_request_body.h

Issue 1907443006: PlzNavigate: store POST data in the FrameNavigationEntry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + addressed comments Created 4 years, 7 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/page_state_serialization.cc ('k') | content/common/resource_request_body.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9cb420ff629a86b949e929064e4223677b39778a 100644
--- a/content/common/resource_request_body.h
+++ b/content/common/resource_request_body.h
@@ -22,6 +22,8 @@ class FilePath;
namespace content {
+struct ExplodedHttpBodyElement;
+
// A struct used to represent upload data. The data field is populated by
// WebURLLoader from the data given as WebHTTPBody.
class CONTENT_EXPORT ResourceRequestBody
@@ -32,6 +34,8 @@ class CONTENT_EXPORT ResourceRequestBody
ResourceRequestBody();
+ void AppendExplodedHTTPBodyElement(const ExplodedHttpBodyElement& element);
+
void AppendBytes(const char* bytes, int bytes_len);
void AppendFileRange(const base::FilePath& file_path,
uint64_t offset,
« no previous file with comments | « content/common/page_state_serialization.cc ('k') | content/common/resource_request_body.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698