| Index: cloud_print/gcp20/prototype/cloud_print_requester.cc
|
| diff --git a/cloud_print/gcp20/prototype/cloud_print_requester.cc b/cloud_print/gcp20/prototype/cloud_print_requester.cc
|
| index b32456c3083795b221c86cf074f2afcd8d5bb495..d8eff9947ea589fad8555680d3367567a473d04a 100644
|
| --- a/cloud_print/gcp20/prototype/cloud_print_requester.cc
|
| +++ b/cloud_print/gcp20/prototype/cloud_print_requester.cc
|
| @@ -125,11 +125,7 @@ void CloudPrintRequester::StartRegistration(const std::string& proxy_id,
|
| const std::string& user,
|
| const LocalSettings& settings,
|
| const std::string& cdd) {
|
| - std::string mime_boundary;
|
| - int r1 = base::RandInt(0, std::numeric_limits<int32_t>::max());
|
| - int r2 = base::RandInt(0, std::numeric_limits<int32_t>::max());
|
| - base::SStringPrintf(&mime_boundary,
|
| - "---------------------------%08X%08X", r1, r2);
|
| + std::string mime_boundary = net::GenerateMimeMultipartBoundary();
|
|
|
| std::string data;
|
| std::string data_mimetype;
|
|
|