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

Unified Diff: chrome/common/cloud_print/cloud_print_helpers.cc

Issue 1410333006: Enough hacks to make wstring printfs unneeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/common/cloud_print/cloud_print_helpers.cc
diff --git a/chrome/common/cloud_print/cloud_print_helpers.cc b/chrome/common/cloud_print/cloud_print_helpers.cc
index c2e1614735120b2b88116822ff0a9570fd7ef513..189d85a1ee9dec518f296154357abddaa79ce672 100644
--- a/chrome/common/cloud_print/cloud_print_helpers.cc
+++ b/chrome/common/cloud_print/cloud_print_helpers.cc
@@ -205,9 +205,9 @@ std::string GetMultipartMimeType(const std::string& mime_boundary) {
// Create a MIME boundary marker (27 '-' characters followed by 16 hex digits).
void CreateMimeBoundaryForUpload(std::string* out) {
- int r1 = base::RandInt(0, kint32max);
+ /*int r1 = base::RandInt(0, kint32max);
int r2 = base::RandInt(0, kint32max);
- base::SStringPrintf(out, "---------------------------%08X%08X", r1, r2);
+ base::SStringPrintf(out, "---------------------------%08X%08X", r1, r2);*/
}
std::string GetHashOfPrinterTags(const PrinterTags& printer_tags) {

Powered by Google App Engine
This is Rietveld 408576698