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

Unified Diff: cloud_print/gcp20/prototype/privet_http_server.cc

Issue 1540213002: Switch to standard integer types in cloud_print/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « cloud_print/gcp20/prototype/privet_http_server.h ('k') | cloud_print/gcp20/prototype/service_parameters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/gcp20/prototype/privet_http_server.cc
diff --git a/cloud_print/gcp20/prototype/privet_http_server.cc b/cloud_print/gcp20/prototype/privet_http_server.cc
index 90b45a8c647d3713df16b4a59d2f08113197a01d..52716f2b4a83febbf1463b9159f1b3f79d633cae 100644
--- a/cloud_print/gcp20/prototype/privet_http_server.cc
+++ b/cloud_print/gcp20/prototype/privet_http_server.cc
@@ -4,6 +4,9 @@
#include "cloud_print/gcp20/prototype/privet_http_server.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/command_line.h"
#include "base/json/json_writer.h"
#include "base/strings/stringprintf.h"
@@ -102,7 +105,7 @@ PrivetHttpServer::~PrivetHttpServer() {
Shutdown();
}
-bool PrivetHttpServer::Start(uint16 port) {
+bool PrivetHttpServer::Start(uint16_t port) {
if (server_)
return true;
@@ -370,7 +373,7 @@ scoped_ptr<base::DictionaryValue> PrivetHttpServer::ProcessSubmitDoc(
response->SetString("job_type", job.content_type);
response->SetString(
"job_size",
- base::StringPrintf("%u", static_cast<uint32>(job.content.size())));
+ base::StringPrintf("%u", static_cast<uint32_t>(job.content.size())));
if (job_name_present)
response->SetString("job_name", job.job_name);
return response.Pass();
« no previous file with comments | « cloud_print/gcp20/prototype/privet_http_server.h ('k') | cloud_print/gcp20/prototype/service_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698