| 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_CHROMOTING_HOST_H_ | 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_ |
| 6 #define REMOTING_HOST_CHROMOTING_HOST_H_ | 6 #define REMOTING_HOST_CHROMOTING_HOST_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 void SetMaximumSessionDuration(const base::TimeDelta& max_session_duration); | 119 void SetMaximumSessionDuration(const base::TimeDelta& max_session_duration); |
| 120 | 120 |
| 121 //////////////////////////////////////////////////////////////////////////// | 121 //////////////////////////////////////////////////////////////////////////// |
| 122 // ClientSession::EventHandler implementation. | 122 // ClientSession::EventHandler implementation. |
| 123 virtual void OnSessionAuthenticating(ClientSession* client) OVERRIDE; | 123 virtual void OnSessionAuthenticating(ClientSession* client) OVERRIDE; |
| 124 virtual bool OnSessionAuthenticated(ClientSession* client) OVERRIDE; | 124 virtual bool OnSessionAuthenticated(ClientSession* client) OVERRIDE; |
| 125 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; | 125 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; |
| 126 virtual void OnSessionClientCapabilities(ClientSession* client) OVERRIDE; | 126 virtual void OnSessionClientCapabilities(ClientSession* client) OVERRIDE; |
| 127 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; | 127 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; |
| 128 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; | 128 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; |
| 129 virtual void OnSessionSequenceNumber(ClientSession* session, | |
| 130 int64 sequence_number) OVERRIDE; | |
| 131 virtual void OnSessionRouteChange( | 129 virtual void OnSessionRouteChange( |
| 132 ClientSession* session, | 130 ClientSession* session, |
| 133 const std::string& channel_name, | 131 const std::string& channel_name, |
| 134 const protocol::TransportRoute& route) OVERRIDE; | 132 const protocol::TransportRoute& route) OVERRIDE; |
| 135 | 133 |
| 136 // SessionManager::Listener implementation. | 134 // SessionManager::Listener implementation. |
| 137 virtual void OnSessionManagerReady() OVERRIDE; | 135 virtual void OnSessionManagerReady() OVERRIDE; |
| 138 virtual void OnIncomingSession( | 136 virtual void OnIncomingSession( |
| 139 protocol::Session* session, | 137 protocol::Session* session, |
| 140 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; | 138 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 HostExtensionList extensions_; | 218 HostExtensionList extensions_; |
| 221 | 219 |
| 222 base::WeakPtrFactory<ChromotingHost> weak_factory_; | 220 base::WeakPtrFactory<ChromotingHost> weak_factory_; |
| 223 | 221 |
| 224 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); | 222 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); |
| 225 }; | 223 }; |
| 226 | 224 |
| 227 } // namespace remoting | 225 } // namespace remoting |
| 228 | 226 |
| 229 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ | 227 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ |
| OLD | NEW |