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

Unified Diff: util/net/http_multipart_builder.h

Issue 692963002: Add HTTPTransport, a Mac implementation, and an end-to-end test. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: For landing Created 6 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 | « util/net/http_headers.cc ('k') | util/net/http_multipart_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/net/http_multipart_builder.h
diff --git a/util/net/http_multipart_builder.h b/util/net/http_multipart_builder.h
index d558820954fbc5c2366993e0d00042c3e61f73b8..c9e03ce739e960bc191f7cab2fe8876409f35ca4 100644
--- a/util/net/http_multipart_builder.h
+++ b/util/net/http_multipart_builder.h
@@ -21,6 +21,7 @@
#include "base/basictypes.h"
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
+#include "util/net/http_headers.h"
namespace crashpad {
@@ -63,8 +64,8 @@ class HTTPMultipartBuilder {
//! \return A caller-owned HTTPBodyStream object.
scoped_ptr<HTTPBodyStream> GetBodyStream();
- //! \brief Gets the boundary that will be used in GetBodyStream().
- std::string boundary() const { return boundary_; }
+ //! \brief Gets the header pair for `"Content-Type"`.
+ HTTPHeaders::value_type GetContentType() const;
private:
struct FileAttachment {
« no previous file with comments | « util/net/http_headers.cc ('k') | util/net/http_multipart_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698