| OLD | NEW |
| 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_CLIENT_SESSION_H_ | 5 #ifndef REMOTING_HOST_CLIENT_SESSION_H_ |
| 6 #define REMOTING_HOST_CLIENT_SESSION_H_ | 6 #define REMOTING_HOST_CLIENT_SESSION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 virtual void NotifyClientResolution( | 104 virtual void NotifyClientResolution( |
| 105 const protocol::ClientResolution& resolution) OVERRIDE; | 105 const protocol::ClientResolution& resolution) OVERRIDE; |
| 106 virtual void ControlVideo( | 106 virtual void ControlVideo( |
| 107 const protocol::VideoControl& video_control) OVERRIDE; | 107 const protocol::VideoControl& video_control) OVERRIDE; |
| 108 virtual void ControlAudio( | 108 virtual void ControlAudio( |
| 109 const protocol::AudioControl& audio_control) OVERRIDE; | 109 const protocol::AudioControl& audio_control) OVERRIDE; |
| 110 virtual void SetCapabilities( | 110 virtual void SetCapabilities( |
| 111 const protocol::Capabilities& capabilities) OVERRIDE; | 111 const protocol::Capabilities& capabilities) OVERRIDE; |
| 112 virtual void RequestPairing( | 112 virtual void RequestPairing( |
| 113 const remoting::protocol::PairingRequest& pairing_request) OVERRIDE; | 113 const remoting::protocol::PairingRequest& pairing_request) OVERRIDE; |
| 114 virtual void DeliverClientMessage( |
| 115 const protocol::ExtensionMessage& message) OVERRIDE; |
| 114 | 116 |
| 115 // protocol::ConnectionToClient::EventHandler interface. | 117 // protocol::ConnectionToClient::EventHandler interface. |
| 116 virtual void OnConnectionAuthenticated( | 118 virtual void OnConnectionAuthenticated( |
| 117 protocol::ConnectionToClient* connection) OVERRIDE; | 119 protocol::ConnectionToClient* connection) OVERRIDE; |
| 118 virtual void OnConnectionChannelsConnected( | 120 virtual void OnConnectionChannelsConnected( |
| 119 protocol::ConnectionToClient* connection) OVERRIDE; | 121 protocol::ConnectionToClient* connection) OVERRIDE; |
| 120 virtual void OnConnectionClosed(protocol::ConnectionToClient* connection, | 122 virtual void OnConnectionClosed(protocol::ConnectionToClient* connection, |
| 121 protocol::ErrorCode error) OVERRIDE; | 123 protocol::ErrorCode error) OVERRIDE; |
| 122 virtual void OnSequenceNumberUpdated( | 124 virtual void OnSequenceNumberUpdated( |
| 123 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE; | 125 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 | 232 |
| 231 // The pairing registry for PIN-less authentication. | 233 // The pairing registry for PIN-less authentication. |
| 232 scoped_refptr<protocol::PairingRegistry> pairing_registry_; | 234 scoped_refptr<protocol::PairingRegistry> pairing_registry_; |
| 233 | 235 |
| 234 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 236 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
| 235 }; | 237 }; |
| 236 | 238 |
| 237 } // namespace remoting | 239 } // namespace remoting |
| 238 | 240 |
| 239 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 241 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
| OLD | NEW |