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

Unified Diff: content/common/resource_request_body.h

Issue 1987053002: Deduplicating code performing WebHTTPBody::Element conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/data/test_body/g 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_unittest.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 9cb420ff629a86b949e929064e4223677b39778a..9c87e570661c746f1edcf2e30dc72bc0aa969060 100644
--- a/content/common/resource_request_body.h
+++ b/content/common/resource_request_body.h
@@ -22,8 +22,6 @@ 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
@@ -34,8 +32,6 @@ 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_unittest.cc ('k') | content/common/resource_request_body.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698