Home
last modified time | relevance | path

Searched refs:MultiPartFormField (Results 1 – 3 of 3) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_form_data.cc115 MultiPartFormField::MultiPartFormField(const std::string& name, in MultiPartFormField() function in brillo::http::MultiPartFormField
127 bool MultiPartFormField::ExtractDataStreams(std::vector<StreamPtr>* streams) { in ExtractDataStreams()
143 std::string MultiPartFormField::GetContentType() const { in GetContentType()
148 void MultiPartFormField::AddCustomField(std::unique_ptr<FormField> field) { in AddCustomField()
152 void MultiPartFormField::AddTextField(const std::string& name, in AddTextField()
157 bool MultiPartFormField::AddFileField(const std::string& name, in AddFileField()
178 std::string MultiPartFormField::GetBoundaryStart() const { in GetBoundaryStart()
182 std::string MultiPartFormField::GetBoundaryEnd() const { in GetBoundaryEnd()
Dhttp_form_data_unittest.cc69 TEST(HttpFormData, MultiPartFormField) { in TEST() argument
83 MultiPartFormField form_field{"foo", mime::multipart::kFormData, "Delimiter"}; in TEST()
127 MultiPartFormField field{""}; in TEST()
160 std::unique_ptr<MultiPartFormField> files{ in TEST()
161 new MultiPartFormField{"files", "", "boundary2"}}; in TEST()
Dhttp_form_data.h151 class BRILLO_EXPORT MultiPartFormField : public FormField {
158 explicit MultiPartFormField(const std::string& name,
194 DISALLOW_COPY_AND_ASSIGN(MultiPartFormField);
225 MultiPartFormField form_data_;