| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 //////////////////////////////////////////////////////////////////////////// | 97 //////////////////////////////////////////////////////////////////////////// |
| 98 // SignalStrategy::StatusObserver implementation. | 98 // SignalStrategy::StatusObserver implementation. |
| 99 virtual void OnStateChange( | 99 virtual void OnStateChange( |
| 100 SignalStrategy::StatusObserver::State state) OVERRIDE; | 100 SignalStrategy::StatusObserver::State state) OVERRIDE; |
| 101 virtual void OnJidChange(const std::string& full_jid) OVERRIDE; | 101 virtual void OnJidChange(const std::string& full_jid) OVERRIDE; |
| 102 | 102 |
| 103 //////////////////////////////////////////////////////////////////////////// | 103 //////////////////////////////////////////////////////////////////////////// |
| 104 // ClientSession::EventHandler implementation. | 104 // ClientSession::EventHandler implementation. |
| 105 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; | 105 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; |
| 106 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; |
| 106 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; | 107 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; |
| 107 virtual void OnSessionSequenceNumber(ClientSession* session, | 108 virtual void OnSessionSequenceNumber(ClientSession* session, |
| 108 int64 sequence_number) OVERRIDE; | 109 int64 sequence_number) OVERRIDE; |
| 109 | 110 |
| 110 // SessionManager::Listener implementation. | 111 // SessionManager::Listener implementation. |
| 111 virtual void OnSessionManagerInitialized() OVERRIDE; | 112 virtual void OnSessionManagerInitialized() OVERRIDE; |
| 112 virtual void OnIncomingSession( | 113 virtual void OnIncomingSession( |
| 113 protocol::Session* session, | 114 protocol::Session* session, |
| 114 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; | 115 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; |
| 115 | 116 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 bool is_it2me_; | 227 bool is_it2me_; |
| 227 std::string access_code_; | 228 std::string access_code_; |
| 228 UiStrings ui_strings_; | 229 UiStrings ui_strings_; |
| 229 | 230 |
| 230 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); | 231 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); |
| 231 }; | 232 }; |
| 232 | 233 |
| 233 } // namespace remoting | 234 } // namespace remoting |
| 234 | 235 |
| 235 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ | 236 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ |
| OLD | NEW |