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

Unified Diff: remoting/host/chromoting_messages.h

Issue 1853643007: Migrate remoting to net::IPAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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 | « no previous file | remoting/host/daemon_process.cc » ('j') | remoting/host/daemon_process.cc » ('J')
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 c9c5e189eb394f939362b159e63a547cdf163374..1a0cb289981fe277baea458d40660f162e0d31ee 100644
--- a/remoting/host/chromoting_messages.h
+++ b/remoting/host/chromoting_messages.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <vector>
+
#include "base/memory/shared_memory_handle.h"
#include "ipc/ipc_platform_file.h"
#include "net/base/ip_endpoint.h"
@@ -88,9 +90,9 @@ IPC_MESSAGE_CONTROL2(ChromotingNetworkDaemonMsg_SetScreenResolution,
// Serialized remoting::protocol::TransportRoute structure.
IPC_STRUCT_BEGIN(SerializedTransportRoute)
IPC_STRUCT_MEMBER(int, type)
- IPC_STRUCT_MEMBER(net::IPAddressNumber, remote_address)
+ IPC_STRUCT_MEMBER(std::vector<uint8_t>, remote_address)
dcheng 2016/04/04 18:40:36 This is kind of unfortunate: content already has a
martijnc 2016/04/05 17:02:35 Added ParamTraits for net::IPAddress and net::IPEn
IPC_STRUCT_MEMBER(uint16_t, remote_port)
- IPC_STRUCT_MEMBER(net::IPAddressNumber, local_address)
+ IPC_STRUCT_MEMBER(std::vector<uint8_t>, local_address)
IPC_STRUCT_MEMBER(uint16_t, local_port)
IPC_STRUCT_END()
@@ -268,4 +270,4 @@ IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails,
// The array of bytes representing a security key response from the remote
// client. This message is sent over the per-client IPC channel.
IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response,
- std::string /* response bytes */)
+ std::string /* response bytes */)
« no previous file with comments | « no previous file | remoting/host/daemon_process.cc » ('j') | remoting/host/daemon_process.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698