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

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

Issue 12545006: The worker process launcher can now ask the worker to crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/daemon_process.h » ('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 "ipc/ipc_platform_file.h" 8 #include "ipc/ipc_platform_file.h"
9 #include "media/video/capture/screen/mouse_cursor_shape.h" 9 #include "media/video/capture/screen/mouse_cursor_shape.h"
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
11 #include "remoting/host/desktop_session.h" 11 #include "remoting/host/desktop_session.h"
12 #include "remoting/protocol/transport.h" 12 #include "remoting/protocol/transport.h"
13 #include "third_party/skia/include/core/SkPoint.h" 13 #include "third_party/skia/include/core/SkPoint.h"
14 #include "third_party/skia/include/core/SkRect.h" 14 #include "third_party/skia/include/core/SkRect.h"
15 #include "third_party/skia/include/core/SkSize.h" 15 #include "third_party/skia/include/core/SkSize.h"
16 16
17 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_ 17 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_
18 18
19 // Multiply-included message file, no traditional include guard. 19 // Multiply-included message file, no traditional include guard.
20 #include "ipc/ipc_message_macros.h" 20 #include "ipc/ipc_message_macros.h"
21 21
22 #define IPC_MESSAGE_START ChromotingMsgStart 22 #define IPC_MESSAGE_START ChromotingMsgStart
23 23
24 //----------------------------------------------------------------------------- 24 //-----------------------------------------------------------------------------
25 // Chromoting messages sent from the daemon.
26
27 // Requests the receiving process to crash producing a crash dump. The daemon
28 // sends this message when a fatal error has been detected indicating that
29 // the receiving process misbehaves. The daemon passes the location of the code
30 // that detected the error.
31 IPC_MESSAGE_CONTROL3(ChromotingDaemonMsg_Crash,
32 std::string /* function_name */,
33 std::string /* file_name */,
34 int /* line_number */)
35
36 //-----------------------------------------------------------------------------
25 // Chromoting messages sent from the daemon to the network process. 37 // Chromoting messages sent from the daemon to the network process.
26 38
27 // Requests the network process to crash producing a crash dump. The daemon
28 // sends this message when a fatal error has been detected indicating that
29 // the network process misbehaves. The daemon passes the location of the code
30 // that detected the error.
31 IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_Crash,
32 std::string /* function_name */,
33 std::string /* file_name */,
34 int /* line_number */)
35
36 // Delivers the host configuration (and updates) to the network process. 39 // Delivers the host configuration (and updates) to the network process.
37 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_Configuration, std::string) 40 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_Configuration, std::string)
38 41
39 // Notifies the network process that the terminal |terminal_id| has been 42 // Notifies the network process that the terminal |terminal_id| has been
40 // disconnected from the desktop session. 43 // disconnected from the desktop session.
41 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_TerminalDisconnected, 44 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_TerminalDisconnected,
42 int /* terminal_id */) 45 int /* terminal_id */)
43 46
44 // Notifies the network process that |terminal_id| is now attached to 47 // Notifies the network process that |terminal_id| is now attached to
45 // a desktop integration process. |desktop_process| is the handle of the desktop 48 // a desktop integration process. |desktop_process| is the handle of the desktop
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 std::string /* jid */, 108 std::string /* jid */,
106 std::string /* channel_name */, 109 std::string /* channel_name */,
107 SerializedTransportRoute /* route */) 110 SerializedTransportRoute /* route */)
108 111
109 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_HostStarted, 112 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_HostStarted,
110 std::string /* xmpp_login */) 113 std::string /* xmpp_login */)
111 114
112 IPC_MESSAGE_CONTROL0(ChromotingNetworkDaemonMsg_HostShutdown) 115 IPC_MESSAGE_CONTROL0(ChromotingNetworkDaemonMsg_HostShutdown)
113 116
114 //----------------------------------------------------------------------------- 117 //-----------------------------------------------------------------------------
115 // Chromoting messages sent from the daemon to the desktop process.
116
117 // Requests the desktop process to crash producing a crash dump. The daemon
118 // sends this message when a fatal error has been detected indicating that
119 // the desktop process misbehaves. The daemon passes the location of the code
120 // that detected the error.
121 IPC_MESSAGE_CONTROL3(ChromotingDaemonDesktopMsg_Crash,
122 std::string /* function_name */,
123 std::string /* file_name */,
124 int /* line_number */)
125
126 //-----------------------------------------------------------------------------
127 // Chromoting messages sent from the desktop to the daemon process. 118 // Chromoting messages sent from the desktop to the daemon process.
128 119
129 // Notifies the daemon that a desktop integration process has been initialized. 120 // Notifies the daemon that a desktop integration process has been initialized.
130 // |desktop_pipe| specifies the client end of the desktop pipe. It is to be 121 // |desktop_pipe| specifies the client end of the desktop pipe. It is to be
131 // forwarded to the desktop environment stub. 122 // forwarded to the desktop environment stub.
132 // 123 //
133 // Windows only: |desktop_pipe| has to be duplicated from the desktop process by 124 // Windows only: |desktop_pipe| has to be duplicated from the desktop process by
134 // the receiver of the message. 125 // the receiver of the message.
135 IPC_MESSAGE_CONTROL1(ChromotingDesktopDaemonMsg_DesktopAttached, 126 IPC_MESSAGE_CONTROL1(ChromotingDesktopDaemonMsg_DesktopAttached,
136 IPC::PlatformFileForTransit /* desktop_pipe */) 127 IPC::PlatformFileForTransit /* desktop_pipe */)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 239
249 // Carries a keyboard event from the client to the desktop session agent. 240 // Carries a keyboard event from the client to the desktop session agent.
250 // |serialized_event| is a serialized protocol::KeyEvent. 241 // |serialized_event| is a serialized protocol::KeyEvent.
251 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectKeyEvent, 242 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectKeyEvent,
252 std::string /* serialized_event */ ) 243 std::string /* serialized_event */ )
253 244
254 // Carries a mouse event from the client to the desktop session agent. 245 // Carries a mouse event from the client to the desktop session agent.
255 // |serialized_event| is a serialized protocol::MouseEvent. 246 // |serialized_event| is a serialized protocol::MouseEvent.
256 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, 247 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent,
257 std::string /* serialized_event */ ) 248 std::string /* serialized_event */ )
OLDNEW
« no previous file with comments | « no previous file | remoting/host/daemon_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698