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

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

Issue 1509063003: Remoting: Remove references to POSIX shared memory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp57_base
Patch Set: Created 5 years 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
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 "base/memory/shared_memory_handle.h"
8 #include "ipc/ipc_platform_file.h" 9 #include "ipc/ipc_platform_file.h"
9 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
10 #include "remoting/host/chromoting_param_traits.h" 11 #include "remoting/host/chromoting_param_traits.h"
11 #include "remoting/host/screen_resolution.h" 12 #include "remoting/host/screen_resolution.h"
12 #include "remoting/protocol/errors.h" 13 #include "remoting/protocol/errors.h"
13 #include "remoting/protocol/transport.h" 14 #include "remoting/protocol/transport.h"
14 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 15 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
15 16
16 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_ 17 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_
17 18
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // Asks the daemon to inject Secure Attention Sequence (SAS) in the session 131 // Asks the daemon to inject Secure Attention Sequence (SAS) in the session
131 // where the desktop process is running. 132 // where the desktop process is running.
132 IPC_MESSAGE_CONTROL0(ChromotingDesktopDaemonMsg_InjectSas) 133 IPC_MESSAGE_CONTROL0(ChromotingDesktopDaemonMsg_InjectSas)
133 134
134 //----------------------------------------------------------------------------- 135 //-----------------------------------------------------------------------------
135 // Chromoting messages sent from the desktop to the network process. 136 // Chromoting messages sent from the desktop to the network process.
136 137
137 // Notifies the network process that a shared buffer has been created. 138 // Notifies the network process that a shared buffer has been created.
138 IPC_MESSAGE_CONTROL3(ChromotingDesktopNetworkMsg_CreateSharedBuffer, 139 IPC_MESSAGE_CONTROL3(ChromotingDesktopNetworkMsg_CreateSharedBuffer,
139 int /* id */, 140 int /* id */,
140 IPC::PlatformFileForTransit /* handle */, 141 base::SharedMemoryHandle /* handle */,
141 uint32 /* size */) 142 uint32 /* size */)
142 143
143 // Request the network process to stop using a shared buffer. 144 // Request the network process to stop using a shared buffer.
144 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_ReleaseSharedBuffer, 145 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_ReleaseSharedBuffer,
145 int /* id */) 146 int /* id */)
146 147
147 // Serialized webrtc::DesktopFrame. 148 // Serialized webrtc::DesktopFrame.
148 IPC_STRUCT_BEGIN(SerializedDesktopFrame) 149 IPC_STRUCT_BEGIN(SerializedDesktopFrame)
149 // ID of the shared memory buffer containing the pixels. 150 // ID of the shared memory buffer containing the pixels.
150 IPC_STRUCT_MEMBER(int, shared_buffer_id) 151 IPC_STRUCT_MEMBER(int, shared_buffer_id)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 std::string /* serialized_event */ ) 227 std::string /* serialized_event */ )
227 228
228 // Carries a touch event from the client to the desktop session agent. 229 // Carries a touch event from the client to the desktop session agent.
229 // |serialized_event| is a serialized protocol::TouchEvent. 230 // |serialized_event| is a serialized protocol::TouchEvent.
230 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectTouchEvent, 231 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectTouchEvent,
231 std::string /* serialized_event */ ) 232 std::string /* serialized_event */ )
232 233
233 // Changes the screen resolution in the desktop session. 234 // Changes the screen resolution in the desktop session.
234 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, 235 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution,
235 remoting::ScreenResolution /* resolution */) 236 remoting::ScreenResolution /* resolution */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698