Home
last modified time | relevance | path

Searched refs:mime_boundary (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/cloud_print/gcp20/prototype/
Dcloud_print_requester.cc124 std::string mime_boundary; in StartRegistration() local
127 base::SStringPrintf(&mime_boundary, in StartRegistration()
132 data_mimetype = "multipart/form-data; boundary=" + mime_boundary; in StartRegistration()
134 net::AddMultipartValueForUpload(kProxyIdValue, proxy_id, mime_boundary, in StartRegistration()
136 net::AddMultipartValueForUpload(kPrinterNameValue, device_name, mime_boundary, in StartRegistration()
138 net::AddMultipartValueForUpload("use_cdd", "true", mime_boundary, in StartRegistration()
140 net::AddMultipartValueForUpload(kPrinterNameValue, device_name, mime_boundary, in StartRegistration()
142 net::AddMultipartValueForUpload(kPrinterCapsValue, cdd, mime_boundary, in StartRegistration()
145 mime_boundary, std::string(), &data); in StartRegistration()
147 mime_boundary, std::string(), &data); in StartRegistration()
[all …]
/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_connector.cc360 std::string mime_boundary; in ReportUserMessage() local
361 CreateMimeBoundaryForUpload(&mime_boundary); in ReportUserMessage()
364 net::AddMultipartValueForUpload(kMessageTextValue, failure_msg, mime_boundary, in ReportUserMessage()
366 net::AddMultipartFinalDelimiterForUpload(mime_boundary, &post_data); in ReportUserMessage()
368 mime_type += mime_boundary; in ReportUserMessage()
606 std::string mime_boundary; in OnReceivePrinterCaps() local
607 CreateMimeBoundaryForUpload(&mime_boundary); in OnReceivePrinterCaps()
611 settings_.proxy_id(), mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps()
613 info.printer_name, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps()
615 info.printer_description, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps()
[all …]
Dprinter_job_handler.cc672 std::string mime_boundary; in OnReceivePrinterCaps() local
673 CreateMimeBoundaryForUpload(&mime_boundary); in OnReceivePrinterCaps()
683 caps_and_defaults.printer_capabilities, mime_boundary, in OnReceivePrinterCaps()
686 caps_and_defaults.printer_defaults, mime_boundary, in OnReceivePrinterCaps()
689 caps_hash, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps()
699 post_data += GetPostDataForPrinterInfo(printer_info, mime_boundary); in OnReceivePrinterCaps()
704 cp_tag_wildcard, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps()
718 printer_info.printer_name, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps()
722 printer_info.printer_description, mime_boundary, in OnReceivePrinterCaps()
727 base::StringPrintf("%d", printer_info.printer_status), mime_boundary, in OnReceivePrinterCaps()
[all …]
Dcloud_print_service_helpers.cc76 const std::string& mime_boundary) { in GetPostDataForPrinterInfo() argument
79 mime_boundary, in GetPostDataForPrinterInfo()
Dcloud_print_service_helpers.h33 const std::string& mime_boundary);
/external/chromium_org/chrome/common/cloud_print/
Dcloud_print_helpers.cc194 std::string GetMultipartMimeType(const std::string& mime_boundary) { in GetMultipartMimeType() argument
195 return std::string("multipart/form-data; boundary=") + mime_boundary; in GetMultipartMimeType()
211 const std::string& mime_boundary, in GetPostDataForPrinterTags() argument
227 net::AddMultipartValueForUpload(kPrinterTagValue, msg, mime_boundary, in GetPostDataForPrinterTags()
234 mime_boundary, std::string(), &post_data); in GetPostDataForPrinterTags()
Dcloud_print_helpers.h68 std::string GetMultipartMimeType(const std::string& mime_boundary);
79 const std::string& mime_boundary,
/external/chromium_org/components/breakpad/app/
Dbreakpad_linux.cc241 MimeWriter(int fd, const char* const mime_boundary);
302 MimeWriter::MimeWriter(int fd, const char* const mime_boundary) in MimeWriter() argument
305 mime_boundary_(mime_boundary) { in MimeWriter()
908 const char* mime_boundary, in ExecUploadProcessOrTerminate() argument
948 sizeof(header_msg) - 1 + strlen(mime_boundary) - 2 + 1)); in ExecUploadProcessOrTerminate()
950 memcpy(header + sizeof(header_msg) - 1, mime_boundary + 2, in ExecUploadProcessOrTerminate()
951 strlen(mime_boundary) - 2); in ExecUploadProcessOrTerminate()
1114 char mime_boundary[28 + 16 + 1]; in HandleCrashDump() local
1115 my_memset(mime_boundary, '-', 28); in HandleCrashDump()
1118 write_uint64_hex(mime_boundary + 28, boundary_rand); in HandleCrashDump()
[all …]
/external/chromium_org/net/base/
Dmime_util.h122 const std::string& mime_boundary,
128 const std::string& mime_boundary,
Dmime_util.cc1001 const std::string& mime_boundary, in AddMultipartValueForUpload() argument
1006 post_data->append("--" + mime_boundary + "\r\n"); in AddMultipartValueForUpload()
1018 void AddMultipartFinalDelimiterForUpload(const std::string& mime_boundary, in AddMultipartFinalDelimiterForUpload() argument
1021 post_data->append("--" + mime_boundary + "--\r\n"); in AddMultipartFinalDelimiterForUpload()