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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 //////////////////////////////////////////////////////////////////////////// | 106 //////////////////////////////////////////////////////////////////////////// |
107 // ClientSession::EventHandler implementation. | 107 // ClientSession::EventHandler implementation. |
108 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; | 108 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; |
109 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; | 109 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; |
110 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; | 110 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; |
111 virtual void OnSessionSequenceNumber(ClientSession* session, | 111 virtual void OnSessionSequenceNumber(ClientSession* session, |
112 int64 sequence_number) OVERRIDE; | 112 int64 sequence_number) OVERRIDE; |
113 virtual void OnSessionRouteChange( | 113 virtual void OnSessionRouteChange( |
114 ClientSession* session, | 114 ClientSession* session, |
115 const std::string& channel_name, | 115 const std::string& channel_name, |
116 const net::IPEndPoint& remote_end_point, | 116 const protocol::TransportRoute& route) OVERRIDE; |
117 const net::IPEndPoint& local_end_point) OVERRIDE; | |
118 | 117 |
119 // SessionManager::Listener implementation. | 118 // SessionManager::Listener implementation. |
120 virtual void OnSessionManagerReady() OVERRIDE; | 119 virtual void OnSessionManagerReady() OVERRIDE; |
121 virtual void OnIncomingSession( | 120 virtual void OnIncomingSession( |
122 protocol::Session* session, | 121 protocol::Session* session, |
123 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; | 122 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; |
124 | 123 |
125 // Sets desired configuration for the protocol. Ownership of the | 124 // Sets desired configuration for the protocol. Ownership of the |
126 // |config| is transferred to the object. Must be called before Start(). | 125 // |config| is transferred to the object. Must be called before Start(). |
127 void set_protocol_config(protocol::CandidateSessionConfig* config); | 126 void set_protocol_config(protocol::CandidateSessionConfig* config); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // TODO(sergeyu): The following members do not belong to | 213 // TODO(sergeyu): The following members do not belong to |
215 // ChromotingHost and should be moved elsewhere. | 214 // ChromotingHost and should be moved elsewhere. |
216 UiStrings ui_strings_; | 215 UiStrings ui_strings_; |
217 | 216 |
218 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); | 217 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); |
219 }; | 218 }; |
220 | 219 |
221 } // namespace remoting | 220 } // namespace remoting |
222 | 221 |
223 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ | 222 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ |
OLD | NEW |