Lines Matching refs:FormField
32 FormField::FormField(const std::string& name, in FormField() function in brillo::http::FormField
42 std::string FormField::GetContentDisposition() const { in GetContentDisposition()
49 std::string FormField::GetContentType() const { in GetContentType()
53 std::string FormField::GetContentHeader() const { in GetContentHeader()
79 : FormField{name, in TextFormField()
97 : FormField{name, content_disposition, content_type, transfer_encoding}, in FileFormField()
103 std::string disposition = FormField::GetContentDisposition(); in GetContentDisposition()
118 : FormField{name, in MultiPartFormField()
148 void MultiPartFormField::AddCustomField(std::unique_ptr<FormField> field) { in AddCustomField()
154 AddCustomField(std::unique_ptr<FormField>{new TextFormField{name, data}}); in AddTextField()
168 std::unique_ptr<FormField> file_field{new FileFormField{name, in AddFileField()
193 void FormData::AddCustomField(std::unique_ptr<FormField> field) { in AddCustomField()