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

Unified Diff: cloud_print/gcp20/prototype/service_parameters.h

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
Index: cloud_print/gcp20/prototype/service_parameters.h
diff --git a/cloud_print/gcp20/prototype/service_parameters.h b/cloud_print/gcp20/prototype/service_parameters.h
index ced8846e79629248994d71205de0fa587b181f2e..b1d1d8f755e9da84ca75398a58151d263fbf9f53 100644
--- a/cloud_print/gcp20/prototype/service_parameters.h
+++ b/cloud_print/gcp20/prototype/service_parameters.h
@@ -5,6 +5,8 @@
#ifndef CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_
#define CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_
+#include <stdint.h>
+
#include <string>
#include "net/base/ip_address_number.h"
@@ -21,7 +23,7 @@ struct ServiceParameters {
const std::string& service_domain_name,
const net::IPAddressNumber& http_ipv4,
const net::IPAddressNumber& http_ipv6,
- uint16 http_port);
+ uint16_t http_port);
std::string service_type_;
std::string secondary_service_type_;
@@ -29,7 +31,7 @@ struct ServiceParameters {
std::string service_domain_name_;
net::IPAddressNumber http_ipv4_;
net::IPAddressNumber http_ipv6_;
- uint16 http_port_;
+ uint16_t http_port_;
};
#endif // CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_
« no previous file with comments | « cloud_print/gcp20/prototype/privet_http_server.cc ('k') | cloud_print/gcp20/prototype/service_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698