Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1222)

Unified Diff: remoting/host/chromoting_host.h

Issue 9005034: Refactor SignalStrategy so that it can be reused for multiple connections. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 0490525365d9fccd708fd632fdcacc3fc2ece705..5fede9054ef03802771ec382fbc9082970284d61 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,9 @@ 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;
+ // SignalStrategy::Listener interface.
+ virtual void OnSignalStrategyStateChange(
+ SignalStrategy::State state) OVERRIDE;
////////////////////////////////////////////////////////////////////////////
// ClientSession::EventHandler implementation.
@@ -112,7 +111,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;
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698