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

Side by Side Diff: remoting/host/chromoting_messages.h

Issue 2848753002: Forward capturer id from desktop process to network process (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « no previous file | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698