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

Unified Diff: remoting/host/chromoting_messages.h

Issue 722503002: Use uint16 for port numbers, misc edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 6 years, 1 month 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: remoting/host/chromoting_messages.h
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h
index f9b68e249a49d02adbced64cc0eac1c516f25ac0..e6d80919a3ba9ac29c83d77a3cf61785f8914673 100644
--- a/remoting/host/chromoting_messages.h
+++ b/remoting/host/chromoting_messages.h
@@ -86,9 +86,9 @@ IPC_MESSAGE_CONTROL2(ChromotingNetworkDaemonMsg_SetScreenResolution,
IPC_STRUCT_BEGIN(SerializedTransportRoute)
IPC_STRUCT_MEMBER(int, type)
IPC_STRUCT_MEMBER(net::IPAddressNumber, remote_address)
- IPC_STRUCT_MEMBER(int, remote_port)
+ IPC_STRUCT_MEMBER(uint16, remote_port)
IPC_STRUCT_MEMBER(net::IPAddressNumber, local_address)
- IPC_STRUCT_MEMBER(int, local_port)
+ IPC_STRUCT_MEMBER(uint16, local_port)
IPC_STRUCT_END()
// Hosts status notifications (see HostStatusObserver interface) sent by

Powered by Google App Engine
This is Rietveld 408576698