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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 // protocol::ConnectionToClient::EventHandler interface. | 117 // protocol::ConnectionToClient::EventHandler interface. |
118 void OnConnectionAuthenticating( | 118 void OnConnectionAuthenticating( |
119 protocol::ConnectionToClient* connection) override; | 119 protocol::ConnectionToClient* connection) override; |
120 void OnConnectionAuthenticated( | 120 void OnConnectionAuthenticated( |
121 protocol::ConnectionToClient* connection) override; | 121 protocol::ConnectionToClient* connection) override; |
122 void OnConnectionChannelsConnected( | 122 void OnConnectionChannelsConnected( |
123 protocol::ConnectionToClient* connection) override; | 123 protocol::ConnectionToClient* connection) override; |
124 void OnConnectionClosed(protocol::ConnectionToClient* connection, | 124 void OnConnectionClosed(protocol::ConnectionToClient* connection, |
125 protocol::ErrorCode error) override; | 125 protocol::ErrorCode error) override; |
126 void OnSequenceNumberUpdated(protocol::ConnectionToClient* connection, | 126 void OnEventTimestamp(protocol::ConnectionToClient* connection, |
127 int64 sequence_number) override; | 127 int64 timestamp) override; |
128 void OnRouteChange(protocol::ConnectionToClient* connection, | 128 void OnRouteChange(protocol::ConnectionToClient* connection, |
129 const std::string& channel_name, | 129 const std::string& channel_name, |
130 const protocol::TransportRoute& route) override; | 130 const protocol::TransportRoute& route) override; |
131 | 131 |
132 // ClientSessionControl interface. | 132 // ClientSessionControl interface. |
133 const std::string& client_jid() const override; | 133 const std::string& client_jid() const override; |
134 void DisconnectSession() override; | 134 void DisconnectSession() override; |
135 void OnLocalMouseMoved(const webrtc::DesktopVector& position) override; | 135 void OnLocalMouseMoved(const webrtc::DesktopVector& position) override; |
136 void SetDisableInputs(bool disable_inputs) override; | 136 void SetDisableInputs(bool disable_inputs) override; |
137 void ResetVideoPipeline() override; | 137 void ResetVideoPipeline() override; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 // Used to disable callbacks to |this| once DisconnectSession() has been | 256 // Used to disable callbacks to |this| once DisconnectSession() has been |
257 // called. | 257 // called. |
258 base::WeakPtrFactory<ClientSessionControl> weak_factory_; | 258 base::WeakPtrFactory<ClientSessionControl> weak_factory_; |
259 | 259 |
260 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 260 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
261 }; | 261 }; |
262 | 262 |
263 } // namespace remoting | 263 } // namespace remoting |
264 | 264 |
265 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 265 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
OLD | NEW |