| 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 ProcessClientJson(const protocol::JsonMessage& message) OVERRIDE; |
| 114 | 115 |
| 115 // protocol::ConnectionToClient::EventHandler interface. | 116 // protocol::ConnectionToClient::EventHandler interface. |
| 116 virtual void OnConnectionAuthenticated( | 117 virtual void OnConnectionAuthenticated( |
| 117 protocol::ConnectionToClient* connection) OVERRIDE; | 118 protocol::ConnectionToClient* connection) OVERRIDE; |
| 118 virtual void OnConnectionChannelsConnected( | 119 virtual void OnConnectionChannelsConnected( |
| 119 protocol::ConnectionToClient* connection) OVERRIDE; | 120 protocol::ConnectionToClient* connection) OVERRIDE; |
| 120 virtual void OnConnectionClosed(protocol::ConnectionToClient* connection, | 121 virtual void OnConnectionClosed(protocol::ConnectionToClient* connection, |
| 121 protocol::ErrorCode error) OVERRIDE; | 122 protocol::ErrorCode error) OVERRIDE; |
| 122 virtual void OnSequenceNumberUpdated( | 123 virtual void OnSequenceNumberUpdated( |
| 123 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE; | 124 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 | 231 |
| 231 // The pairing registry for PIN-less authentication. | 232 // The pairing registry for PIN-less authentication. |
| 232 scoped_refptr<protocol::PairingRegistry> pairing_registry_; | 233 scoped_refptr<protocol::PairingRegistry> pairing_registry_; |
| 233 | 234 |
| 234 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 235 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 } // namespace remoting | 238 } // namespace remoting |
| 238 | 239 |
| 239 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 240 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
| OLD | NEW |