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

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

Issue 2933203002: [Chromoting] Use ProcessStatsSender in DesktopSessionAgent (desktop process) (Closed)
Patch Set: Resolve review comments Created 3 years, 6 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 | « remoting/host/BUILD.gn ('k') | remoting/host/chromoting_param_traits.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 <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 "base/time/time.h"
11 #include "ipc/ipc_channel_handle.h" 12 #include "ipc/ipc_channel_handle.h"
12 #include "ipc/ipc_platform_file.h" 13 #include "ipc/ipc_platform_file.h"
13 #include "remoting/host/chromoting_param_traits.h" 14 #include "remoting/host/chromoting_param_traits.h"
14 #include "remoting/host/desktop_environment_options.h" 15 #include "remoting/host/desktop_environment_options.h"
15 #include "remoting/host/screen_resolution.h" 16 #include "remoting/host/screen_resolution.h"
17 #include "remoting/proto/process_stats.pb.h"
16 #include "remoting/protocol/errors.h" 18 #include "remoting/protocol/errors.h"
17 #include "remoting/protocol/transport.h" 19 #include "remoting/protocol/transport.h"
18 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" 20 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
19 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 21 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
20 22
21 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_ 23 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_
22 24
23 // Multiply-included message file, no traditional include guard. 25 // Multiply-included message file, no traditional include guard.
24 #include "ipc/ipc_message_macros.h" 26 #include "ipc/ipc_message_macros.h"
25 27
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // The array of bytes representing the security key response from the client. 260 // The array of bytes representing the security key response from the client.
259 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, 261 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response,
260 std::string /* response bytes */) 262 std::string /* response bytes */)
261 263
262 // Indicates the channel used for security key message passing is ready for use. 264 // Indicates the channel used for security key message passing is ready for use.
263 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionReady) 265 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionReady)
264 266
265 // Error indicating the request originated from outside the remoted session. 267 // Error indicating the request originated from outside the remoted session.
266 // The IPC channel will be disconnected after this message has been sent. 268 // The IPC channel will be disconnected after this message has been sent.
267 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_InvalidSession) 269 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_InvalidSession)
270
271 // Starts to report process resource usage.
272 IPC_MESSAGE_CONTROL1(ChromotingNetworkToAnyMsg_StartProcessStatsReport,
273 base::TimeDelta /* interval */)
274
275 // Stops to report process resource usage.
276 IPC_MESSAGE_CONTROL0(ChromotingNetworkToAnyMsg_StopProcessStatsReport)
277
278 // Reports process resource usage to network process.
279 IPC_MESSAGE_CONTROL1(ChromotingAnyToNetworkMsg_ReportProcessStats,
280 remoting::protocol::AggregatedProcessResourceUsage)
OLDNEW
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/chromoting_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698