Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7735)

Unified Diff: chrome/service/cloud_print/printer_job_handler.cc

Issue 1547593002: Introducing a net::GenerateMimeMultipartBoundary helper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/service/cloud_print/printer_job_handler.cc
diff --git a/chrome/service/cloud_print/printer_job_handler.cc b/chrome/service/cloud_print/printer_job_handler.cc
index 2f255f91d8a2947e2c6ad85afa83a0779e7fc4c7..a720d5ed2bb8344d069756a3607b18e4c1db4da3 100644
--- a/chrome/service/cloud_print/printer_job_handler.cc
+++ b/chrome/service/cloud_print/printer_job_handler.cc
@@ -684,8 +684,7 @@ void PrinterJobHandler::OnReceivePrinterCaps(
printer_watcher_->GetCurrentPrinterInfo(&printer_info);
std::string post_data;
- std::string mime_boundary;
- CreateMimeBoundaryForUpload(&mime_boundary);
+ std::string mime_boundary = net::GenerateMimeMultipartBoundary();
if (succeeded) {
std::string caps_hash =

Powered by Google App Engine
This is Rietveld 408576698