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

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

Issue 2575963002: Handle Security Key requests from outside the remoted session correctly (Closed)
Patch Set: Addressing CR Feedback Created 4 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 <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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 // The array of bytes representing a security key request to be sent to the 246 // The array of bytes representing a security key request to be sent to the
247 // remote client. 247 // remote client.
248 IPC_MESSAGE_CONTROL1(ChromotingRemoteSecurityKeyToNetworkMsg_Request, 248 IPC_MESSAGE_CONTROL1(ChromotingRemoteSecurityKeyToNetworkMsg_Request,
249 std::string /* request bytes */) 249 std::string /* request bytes */)
250 250
251 //--------------------------------------------------------- 251 //---------------------------------------------------------
252 // Chromoting messages sent from the network process to the remote_security_key 252 // Chromoting messages sent from the network process to the remote_security_key
253 // process. 253 // process.
254 254
255 // The array of bytes representing a security key response from the remote 255 // The array of bytes representing the security key response from the client.
256 // client. This message is sent over the per-client IPC channel.
257 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, 256 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response,
258 std::string /* response bytes */) 257 std::string /* response bytes */)
258
259 // Indicates the channel used for security key message passing is ready for use.
260 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionReady)
261
262 // Error indicating the request originated from outside the remoted session.
263 // The IPC channel will be disconnected after this message has been sent.
264 IPC_MESSAGE_CONTROL0(ChromotingNetworkToRemoteSecurityKeyMsg_InvalidSession)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698