Searched refs:MultiPartFormField (Results 1 – 3 of 3) sorted by relevance
115 MultiPartFormField::MultiPartFormField(const std::string& name, in MultiPartFormField() function in brillo::http::MultiPartFormField127 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()
69 TEST(HttpFormData, MultiPartFormField) { in TEST() argument83 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()
151 class BRILLO_EXPORT MultiPartFormField : public FormField {158 explicit MultiPartFormField(const std::string& name,194 DISALLOW_COPY_AND_ASSIGN(MultiPartFormField);225 MultiPartFormField form_data_;