/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 | 361 std::string mime_boundary; in ReportUserMessage() local 362 CreateMimeBoundaryForUpload(&mime_boundary); in ReportUserMessage() 365 net::AddMultipartValueForUpload(kMessageTextValue, failure_msg, mime_boundary, in ReportUserMessage() 367 net::AddMultipartFinalDelimiterForUpload(mime_boundary, &post_data); in ReportUserMessage() 369 mime_type += mime_boundary; in ReportUserMessage() 607 std::string mime_boundary; in OnReceivePrinterCaps() local 608 CreateMimeBoundaryForUpload(&mime_boundary); in OnReceivePrinterCaps() 612 settings_.proxy_id(), mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps() 614 info.printer_name, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps() 616 info.printer_description, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps() [all …]
|
D | printer_job_handler.cc | 685 std::string mime_boundary; in OnReceivePrinterCaps() local 686 CreateMimeBoundaryForUpload(&mime_boundary); in OnReceivePrinterCaps() 697 net::AddMultipartValueForUpload(kUseCDD, "true", mime_boundary, in OnReceivePrinterCaps() 701 caps_and_defaults.printer_capabilities, mime_boundary, in OnReceivePrinterCaps() 704 caps_and_defaults.printer_defaults, mime_boundary, in OnReceivePrinterCaps() 707 caps_hash, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps() 717 post_data += GetPostDataForPrinterInfo(printer_info, mime_boundary); in OnReceivePrinterCaps() 722 cp_tag_wildcard, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps() 736 printer_info.printer_name, mime_boundary, std::string(), &post_data); in OnReceivePrinterCaps() 740 printer_info.printer_description, 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 | 205 std::string GetMultipartMimeType(const std::string& mime_boundary) { in GetMultipartMimeType() argument 206 return std::string("multipart/form-data; boundary=") + mime_boundary; in GetMultipartMimeType() 222 const std::string& mime_boundary, in GetPostDataForPrinterTags() argument 238 net::AddMultipartValueForUpload(kPrinterTagValue, msg, mime_boundary, in GetPostDataForPrinterTags() 245 mime_boundary, std::string(), &post_data); in GetPostDataForPrinterTags()
|
D | cloud_print_helpers.h | 71 std::string GetMultipartMimeType(const std::string& mime_boundary); 82 const std::string& mime_boundary,
|
/external/chromium_org/components/crash/app/ |
D | breakpad_linux.cc | 233 MimeWriter(int fd, const char* const mime_boundary); 295 MimeWriter::MimeWriter(int fd, const char* const mime_boundary) in MimeWriter() argument 298 mime_boundary_(mime_boundary) { in MimeWriter() 954 const char* mime_boundary, in ExecUploadProcessOrTerminate() argument 994 sizeof(header_msg) - 1 + strlen(mime_boundary) - 2 + 1)); in ExecUploadProcessOrTerminate() 996 memcpy(header + sizeof(header_msg) - 1, mime_boundary + 2, in ExecUploadProcessOrTerminate() 997 strlen(mime_boundary) - 2); in ExecUploadProcessOrTerminate() 1263 char mime_boundary[28 + 16 + 1]; in HandleCrashDump() local 1264 my_memset(mime_boundary, '-', 28); in HandleCrashDump() 1267 write_uint64_hex(mime_boundary + 28, boundary_rand); in HandleCrashDump() [all …]
|
/external/chromium_org/net/base/ |
D | mime_util.h | 162 const std::string& mime_boundary, 168 const std::string& mime_boundary,
|
D | mime_util.cc | 1384 const std::string& mime_boundary, in AddMultipartValueForUpload() argument 1389 post_data->append("--" + mime_boundary + "\r\n"); in AddMultipartValueForUpload() 1401 void AddMultipartFinalDelimiterForUpload(const std::string& mime_boundary, in AddMultipartFinalDelimiterForUpload() argument 1404 post_data->append("--" + mime_boundary + "--\r\n"); in AddMultipartFinalDelimiterForUpload()
|