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

Unified Diff: remoting/protocol/port_range.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
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 | « remoting/protocol/performance_tracker.h ('k') | remoting/protocol/port_range.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/port_range.h
diff --git a/remoting/protocol/port_range.h b/remoting/protocol/port_range.h
index 1ec5b20f2d226731a024b330e1242f3d13982099..ba1f7108327c93814e6307a9e214f6cec9eb317d 100644
--- a/remoting/protocol/port_range.h
+++ b/remoting/protocol/port_range.h
@@ -5,18 +5,19 @@
#ifndef REMOTING_PROTOCOL_PORT_RANGE_H_
#define REMOTING_PROTOCOL_PORT_RANGE_H_
+#include <stdint.h>
+
#include <ostream>
#include <string>
-#include "base/basictypes.h"
namespace remoting {
// Wrapper for a value of UdpPortRange policy.
struct PortRange {
// Both |min_port| and |max_port| are inclusive.
- uint16 min_port;
- uint16 max_port;
+ uint16_t min_port;
+ uint16_t max_port;
// Returns true if |port_range| passed to Parse was an empty string
// (or if |this| has been initialized by the default constructor below).
« no previous file with comments | « remoting/protocol/performance_tracker.h ('k') | remoting/protocol/port_range.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698