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

Unified Diff: remoting/host/chromoting_messages.h

Issue 655063002: Use uint16 for port numbers more pervasively. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert bad change 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
« no previous file with comments | « ppapi/shared_impl/private/net_address_private_impl.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ppapi/shared_impl/private/net_address_private_impl.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698