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

Unified Diff: remoting/protocol/connection_to_client.h

Issue 8476018: Move ConnectionToClient::EventHandler from ChromotingHost to ClientSession (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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
Index: remoting/protocol/connection_to_client.h
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index fc892d0cff15d053393c2cc009a426f5ca682cc8..f578a7a26048c6045b5cee465354fcecd5cd83b4 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -57,10 +57,9 @@ class ConnectionToClient :
// that this object runs on. A viewer object receives events and messages from
// a libjingle channel, these events are delegated to |handler|.
// It is guaranteed that |handler| is called only on the |message_loop|.
Wez 2011/11/09 01:35:07 Update this comment now that the function signatur
Sergey Ulanov 2011/11/09 19:26:13 Done.
- ConnectionToClient(base::MessageLoopProxy* message_loop,
- EventHandler* handler);
+ ConnectionToClient(base::MessageLoopProxy* message_loop, Session* session);
- virtual void Init(Session* session);
+ void SetEventHandler(EventHandler* event_handler);
Wez 2011/11/09 01:35:07 Clarify the semantics? What happens if events hap
Sergey Ulanov 2011/11/09 19:26:13 Done.
// Returns the connection in use.
virtual Session* session();

Powered by Google App Engine
This is Rietveld 408576698