Searched refs:FormData (Results 1 – 9 of 9) sorted by relevance
186 FormData::FormData() : FormData{std::string{}} { in FormData() function in brillo::http::FormData189 FormData::FormData(const std::string& boundary) in FormData() function in brillo::http::FormData193 void FormData::AddCustomField(std::unique_ptr<FormField> field) { in AddCustomField()197 void FormData::AddTextField(const std::string& name, const std::string& data) { in AddTextField()201 bool FormData::AddFileField(const std::string& name, in AddFileField()209 std::string FormData::GetContentType() const { in GetContentType()213 StreamPtr FormData::ExtractDataStream() { in ExtractDataStream()
198 class BRILLO_EXPORT FormData final {200 FormData();202 explicit FormData(const std::string& boundary);227 DISALLOW_COPY_AND_ASSIGN(FormData);
144 TEST(HttpFormData, FormData) { in TEST() argument158 FormData form_data{"boundary1"}; in TEST()
202 class FormData; variable246 bool AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data,
243 std::unique_ptr<FormData> form_data,253 std::unique_ptr<FormData> form_data,
254 std::unique_ptr<FormData> form_data, in PostFormDataAndBlock()283 std::unique_ptr<FormData> form_data, in PostFormData()
352 std::unique_ptr<FormData> form_data{new FormData{"boundary123"}}; in TEST()
201 bool Request::AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data, in AddRequestBodyAsFormData()
116 const formData = new FormData();