Chromium Code Reviews| Index: remoting/host/chromoting_host.h |
| diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h |
| index 0490525365d9fccd708fd632fdcacc3fc2ece705..311593ce2413b3b72a222bb08a1312051ff5bcac 100644 |
| --- a/remoting/host/chromoting_host.h |
| +++ b/remoting/host/chromoting_host.h |
| @@ -62,7 +62,7 @@ class ScreenRecorder; |
| // incoming connection. |
| class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>, |
| public ClientSession::EventHandler, |
| - public SignalStrategy::StatusObserver, |
| + public SignalStrategy::Listener, |
| public protocol::SessionManager::Listener { |
| public: |
| // Factory methods that must be used to create ChromotingHost |
| @@ -98,10 +98,11 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>, |
| void SetSharedSecret(const std::string& shared_secret); |
| //////////////////////////////////////////////////////////////////////////// |
| - // SignalStrategy::StatusObserver implementation. |
| - virtual void OnStateChange( |
| - SignalStrategy::StatusObserver::State state) OVERRIDE; |
| - virtual void OnJidChange(const std::string& full_jid) OVERRIDE; |
|
Wez
2011/12/21 23:35:30
We can get rid of this because we'll see DISCONNEC
Sergey Ulanov
2011/12/22 21:45:10
Because I added GetLocalJid() method.
|
| + // SignalStrategy::Listener interface. |
| + virtual void OnSignalStrategyStateChange( |
| + SignalStrategy::State state) OVERRIDE; |
| + virtual bool OnSignalStrategyIncomingStanza( |
| + const buzz::XmlElement* stanza) OVERRIDE; |
| //////////////////////////////////////////////////////////////////////////// |
| // ClientSession::EventHandler implementation. |
| @@ -112,7 +113,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>, |
| int64 sequence_number) OVERRIDE; |
| // SessionManager::Listener implementation. |
| - virtual void OnSessionManagerInitialized() OVERRIDE; |
| + virtual void OnSessionManagerReady() OVERRIDE; |
| virtual void OnIncomingSession( |
| protocol::Session* session, |
| protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; |