/external/chromium_org/cloud_print/gcp20/prototype/ |
D | cloud_print_requester.cc | 124 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/ |
D | cloud_print_connector.cc | 360 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 …]
|
D | printer_job_handler.cc | 672 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 …]
|
D | cloud_print_service_helpers.cc | 76 const std::string& mime_boundary) { in GetPostDataForPrinterInfo() argument 79 mime_boundary, in GetPostDataForPrinterInfo()
|
D | cloud_print_service_helpers.h | 33 const std::string& mime_boundary);
|
/external/chromium_org/chrome/common/cloud_print/ |
D | cloud_print_helpers.cc | 194 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()
|
D | cloud_print_helpers.h | 68 std::string GetMultipartMimeType(const std::string& mime_boundary); 79 const std::string& mime_boundary,
|
/external/chromium_org/components/breakpad/app/ |
D | breakpad_linux.cc | 241 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/ |
D | mime_util.h | 122 const std::string& mime_boundary, 128 const std::string& mime_boundary,
|
D | mime_util.cc | 1001 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()
|