Home
last modified time | relevance | path

Searched refs:FormData (Results 1 – 9 of 9) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_form_data.cc186 FormData::FormData() : FormData{std::string{}} { in FormData() function in brillo::http::FormData
189 FormData::FormData(const std::string& boundary) in FormData() function in brillo::http::FormData
193 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()
Dhttp_form_data.h198 class BRILLO_EXPORT FormData final {
200 FormData();
202 explicit FormData(const std::string& boundary);
227 DISALLOW_COPY_AND_ASSIGN(FormData);
Dhttp_form_data_unittest.cc144 TEST(HttpFormData, FormData) { in TEST() argument
158 FormData form_data{"boundary1"}; in TEST()
Dhttp_request.h202 class FormData; variable
246 bool AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data,
Dhttp_utils.h243 std::unique_ptr<FormData> form_data,
253 std::unique_ptr<FormData> form_data,
Dhttp_utils.cc254 std::unique_ptr<FormData> form_data, in PostFormDataAndBlock()
283 std::unique_ptr<FormData> form_data, in PostFormData()
Dhttp_utils_unittest.cc352 std::unique_ptr<FormData> form_data{new FormData{"boundary123"}}; in TEST()
Dhttp_request.cc201 bool Request::AddRequestBodyAsFormData(std::unique_ptr<FormData> form_data, in AddRequestBodyAsFormData()
/external/autotest/client/site_tests/power_LoadTest/extension/
Dtask_monitor.js116 const formData = new FormData();