| 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" |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 IPC_STRUCT_MEMBER(webrtc::DesktopSize, dimensions) | 160 IPC_STRUCT_MEMBER(webrtc::DesktopSize, dimensions) |
| 161 | 161 |
| 162 // Time spent in capture. Unit is in milliseconds. | 162 // Time spent in capture. Unit is in milliseconds. |
| 163 IPC_STRUCT_MEMBER(int64_t, capture_time_ms) | 163 IPC_STRUCT_MEMBER(int64_t, capture_time_ms) |
| 164 | 164 |
| 165 // Latest event timestamp supplied by the client for performance tracking. | 165 // Latest event timestamp supplied by the client for performance tracking. |
| 166 IPC_STRUCT_MEMBER(int64_t, latest_event_timestamp) | 166 IPC_STRUCT_MEMBER(int64_t, latest_event_timestamp) |
| 167 | 167 |
| 168 // DPI for this frame. | 168 // DPI for this frame. |
| 169 IPC_STRUCT_MEMBER(webrtc::DesktopVector, dpi) | 169 IPC_STRUCT_MEMBER(webrtc::DesktopVector, dpi) |
| 170 |
| 171 // Capturer Id |
| 172 IPC_STRUCT_MEMBER(uint32_t, capturer_id) |
| 170 IPC_STRUCT_END() | 173 IPC_STRUCT_END() |
| 171 | 174 |
| 172 IPC_ENUM_TRAITS_MAX_VALUE(webrtc::DesktopCapturer::Result, | 175 IPC_ENUM_TRAITS_MAX_VALUE(webrtc::DesktopCapturer::Result, |
| 173 webrtc::DesktopCapturer::Result::MAX_VALUE) | 176 webrtc::DesktopCapturer::Result::MAX_VALUE) |
| 174 | 177 |
| 175 // Notifies the network process that a shared buffer has been created. | 178 // Notifies the network process that a shared buffer has been created. |
| 176 IPC_MESSAGE_CONTROL2(ChromotingDesktopNetworkMsg_CaptureResult, | 179 IPC_MESSAGE_CONTROL2(ChromotingDesktopNetworkMsg_CaptureResult, |
| 177 webrtc::DesktopCapturer::Result /* result */, | 180 webrtc::DesktopCapturer::Result /* result */, |
| 178 SerializedDesktopFrame /* frame */) | 181 SerializedDesktopFrame /* frame */) |
| 179 | 182 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // The array of bytes representing the security key response from the client. | 258 // The array of bytes representing the security key response from the client. |
| 256 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, | 259 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, |
| 257 std::string /* response bytes */) | 260 std::string /* response bytes */) |
| 258 | 261 |
| 259 // Indicates the channel used for security key message passing is ready for use. | 262 // Indicates the channel used for security key message passing is ready for use. |
| 260 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionReady) | 263 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionReady) |
| 261 | 264 |
| 262 // Error indicating the request originated from outside the remoted session. | 265 // Error indicating the request originated from outside the remoted session. |
| 263 // The IPC channel will be disconnected after this message has been sent. | 266 // The IPC channel will be disconnected after this message has been sent. |
| 264 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_InvalidSession) | 267 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_InvalidSession) |
| OLD | NEW |