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

Unified Diff: remoting/protocol/session_manager.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 | « remoting/protocol/pepper_session_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/session_manager.h
diff --git a/remoting/protocol/session_manager.h b/remoting/protocol/session_manager.h
index ad484fa606b48c423a1fba8bb67fd8535b5edad7..bee08cc9abbeda61aab6413b6267f1cc2bb35f25 100644
--- a/remoting/protocol/session_manager.h
+++ b/remoting/protocol/session_manager.h
@@ -89,11 +89,10 @@ class SessionManager : public base::NonThreadSafe {
Listener() { }
~Listener() { }
- // Called when the session manager has finished
- // initialization. May be called from Init() or after Init()
- // returns. Outgoing connections can be created after this method
- // is called.
- virtual void OnSessionManagerInitialized() = 0;
+ // Called when the session manager is ready to create outgoing
+ // sessions. May be called from Init() or after Init()
+ // returns.
+ virtual void OnSessionManagerReady() = 0;
// Called when a new session is received. If the host decides to
// accept the session it should set the |response| to
@@ -117,8 +116,7 @@ class SessionManager : public base::NonThreadSafe {
// will also take ownership of these objects. On the client side
// pass in NULL for |private_key| and empty string for
// |certificate|.
- virtual void Init(const std::string& local_jid,
- SignalStrategy* signal_strategy,
+ virtual void Init(SignalStrategy* signal_strategy,
Listener* listener,
bool allow_nat_traversal) = 0;
« no previous file with comments | « remoting/protocol/pepper_session_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698