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

Unified Diff: remoting/protocol/host_message_dispatcher.h

Issue 6792038: Chromoting to report roundtrip latency (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: done Created 9 years, 8 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/connection_to_client.cc ('k') | remoting/protocol/host_message_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/host_message_dispatcher.h
diff --git a/remoting/protocol/host_message_dispatcher.h b/remoting/protocol/host_message_dispatcher.h
index 5752f95219e142b5a4d268aef88c12080b704fd3..67df286beec98f7959201f8ea4bbb61803f6c081 100644
--- a/remoting/protocol/host_message_dispatcher.h
+++ b/remoting/protocol/host_message_dispatcher.h
@@ -13,6 +13,7 @@
namespace remoting {
namespace protocol {
+class ConnectionToClient;
class ControlMessage;
class EventMessage;
class HostStub;
@@ -37,7 +38,7 @@ class HostMessageDispatcher {
// Initialize the message dispatcher with the given connection and
// message handlers.
- void Initialize(protocol::Session* session,
+ void Initialize(ConnectionToClient* connection,
HostStub* host_stub, InputStub* input_stub);
private:
@@ -57,6 +58,9 @@ class HostMessageDispatcher {
// MessageReader that runs on the event channel.
scoped_ptr<ProtobufMessageReader<EventMessage> > event_message_reader_;
+ // Connection that this object belongs to.
+ ConnectionToClient* connection_;
+
// Stubs for host and input. These objects are not owned.
// They are called on the thread there data is received, i.e. jingle thread.
HostStub* host_stub_;
« no previous file with comments | « remoting/protocol/connection_to_client.cc ('k') | remoting/protocol/host_message_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698