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

Unified Diff: cloud_print/gcp20/prototype/service_parameters.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/service_parameters.h ('k') | cloud_print/gcp20/prototype/x_privet_token.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/gcp20/prototype/service_parameters.cc
diff --git a/cloud_print/gcp20/prototype/service_parameters.cc b/cloud_print/gcp20/prototype/service_parameters.cc
index c15be13ceaee6a6ee62e023a63afa0068af470aa..ac663f2887f80d3f3e68a8b27c6896b889382f79 100644
--- a/cloud_print/gcp20/prototype/service_parameters.cc
+++ b/cloud_print/gcp20/prototype/service_parameters.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
+
#include "cloud_print/gcp20/prototype/service_parameters.h"
ServiceParameters::ServiceParameters() : http_port_(0) {
@@ -16,12 +18,11 @@ ServiceParameters::ServiceParameters(const std::string& service_type,
const std::string& service_domain_name,
const net::IPAddressNumber& http_ipv4,
const net::IPAddressNumber& http_ipv6,
- uint16 http_port)
+ uint16_t http_port)
: service_type_(service_type),
secondary_service_type_(secondary_service_type),
service_name_(service_name_prefix + "." + service_type),
service_domain_name_(service_domain_name),
http_ipv4_(http_ipv4),
http_ipv6_(http_ipv6),
- http_port_(http_port) {
-}
+ http_port_(http_port) {}
« no previous file with comments | « cloud_print/gcp20/prototype/service_parameters.h ('k') | cloud_print/gcp20/prototype/x_privet_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698