| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_HOST_CHROMOTING_MESSAGES_H_ | 5 #ifndef REMOTING_HOST_CHROMOTING_MESSAGES_H_ |
| 6 #define REMOTING_HOST_CHROMOTING_MESSAGES_H_ | 6 #define REMOTING_HOST_CHROMOTING_MESSAGES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/memory/shared_memory_handle.h" | 10 #include "base/memory/shared_memory_handle.h" |
| 11 #include "ipc/ipc_platform_file.h" | 11 #include "ipc/ipc_platform_file.h" |
| 12 #include "net/base/ip_endpoint.h" | |
| 13 #include "remoting/host/chromoting_param_traits.h" | 12 #include "remoting/host/chromoting_param_traits.h" |
| 14 #include "remoting/host/screen_resolution.h" | 13 #include "remoting/host/screen_resolution.h" |
| 15 #include "remoting/protocol/errors.h" | 14 #include "remoting/protocol/errors.h" |
| 16 #include "remoting/protocol/transport.h" | 15 #include "remoting/protocol/transport.h" |
| 17 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" | 16 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
| 18 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 17 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
| 19 | 18 |
| 20 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_ | 19 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_ |
| 21 | 20 |
| 22 // Multiply-included message file, no traditional include guard. | 21 // Multiply-included message file, no traditional include guard. |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 int /* terminal_id */) | 81 int /* terminal_id */) |
| 83 | 82 |
| 84 // Changes the screen resolution in the given desktop session. | 83 // Changes the screen resolution in the given desktop session. |
| 85 IPC_MESSAGE_CONTROL2(ChromotingNetworkDaemonMsg_SetScreenResolution, | 84 IPC_MESSAGE_CONTROL2(ChromotingNetworkDaemonMsg_SetScreenResolution, |
| 86 int /* terminal_id */, | 85 int /* terminal_id */, |
| 87 remoting::ScreenResolution /* resolution */) | 86 remoting::ScreenResolution /* resolution */) |
| 88 | 87 |
| 89 // Serialized remoting::protocol::TransportRoute structure. | 88 // Serialized remoting::protocol::TransportRoute structure. |
| 90 IPC_STRUCT_BEGIN(SerializedTransportRoute) | 89 IPC_STRUCT_BEGIN(SerializedTransportRoute) |
| 91 IPC_STRUCT_MEMBER(remoting::protocol::TransportRoute::RouteType, type) | 90 IPC_STRUCT_MEMBER(remoting::protocol::TransportRoute::RouteType, type) |
| 92 IPC_STRUCT_MEMBER(net::IPEndPoint, remote_address) | 91 IPC_STRUCT_MEMBER(std::vector<uint8_t>, remote_ip) |
| 93 IPC_STRUCT_MEMBER(net::IPEndPoint, local_address) | 92 IPC_STRUCT_MEMBER(uint16_t, remote_port) |
| 93 IPC_STRUCT_MEMBER(std::vector<uint8_t>, local_ip) |
| 94 IPC_STRUCT_MEMBER(uint16_t, local_port) |
| 94 IPC_STRUCT_END() | 95 IPC_STRUCT_END() |
| 95 | 96 |
| 96 IPC_ENUM_TRAITS_MAX_VALUE(remoting::protocol::TransportRoute::RouteType, | 97 IPC_ENUM_TRAITS_MAX_VALUE(remoting::protocol::TransportRoute::RouteType, |
| 97 remoting::protocol::TransportRoute::ROUTE_TYPE_MAX) | 98 remoting::protocol::TransportRoute::ROUTE_TYPE_MAX) |
| 98 | 99 |
| 99 // Hosts status notifications (see HostStatusObserver interface) sent by | 100 // Hosts status notifications (see HostStatusObserver interface) sent by |
| 100 // IpcHostEventLogger. | 101 // IpcHostEventLogger. |
| 101 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_AccessDenied, | 102 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_AccessDenied, |
| 102 std::string /* jid */) | 103 std::string /* jid */) |
| 103 | 104 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 | 269 |
| 269 // The IPC channel path for this remote_security_key connection. This message | 270 // The IPC channel path for this remote_security_key connection. This message |
| 270 // is sent from the well-known IPC server channel. | 271 // is sent from the well-known IPC server channel. |
| 271 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails, | 272 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails, |
| 272 std::string /* IPC Server path */) | 273 std::string /* IPC Server path */) |
| 273 | 274 |
| 274 // The array of bytes representing a security key response from the remote | 275 // The array of bytes representing a security key response from the remote |
| 275 // client. This message is sent over the per-client IPC channel. | 276 // client. This message is sent over the per-client IPC channel. |
| 276 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, | 277 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, |
| 277 std::string /* response bytes */) | 278 std::string /* response bytes */) |
| OLD | NEW |