Chromium Code Reviews| Index: net/base/mime_util.h |
| diff --git a/net/base/mime_util.h b/net/base/mime_util.h |
| index d2638cb3a6d9d4743457b75fedae8f808275d634..649a4b4c18c42f292004f10d3bdf1fa89ecfabd9 100644 |
| --- a/net/base/mime_util.h |
| +++ b/net/base/mime_util.h |
| @@ -119,6 +119,16 @@ enum CertificateMimeType { |
| NET_EXPORT CertificateMimeType GetCertificateMimeTypeForMimeType( |
| const std::string& mime_type); |
| +// Prepares one value as part of a multi-part upload request. |
| +NET_EXPORT void AddMultipartValueForUpload(const std::string& value_name, |
| + const std::string& value, |
| + const std::string& mime_boundary, |
| + const std::string& content_type, |
| + std::string* post_data); |
| + |
| +NET_EXPORT void AddMultipartTerminateForUpload(const std::string& mime_boundary, |
|
wtc
2013/05/15 17:01:35
Please add a comment to describe what this functio
Henrik Grunell
2013/05/16 08:35:46
Done.
|
| + std::string* post_data); |
| + |
| } // namespace net |
| #endif // NET_BASE_MIME_UTIL_H__ |