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

Unified Diff: remoting/protocol/connection_to_client.cc

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.h ('k') | remoting/protocol/host_message_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client.cc
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc
index 96c11e4eeddd4d9cefe79d6e011e8284ec56098e..ee2131a20dbc3d171cdb0f453cea45a719d7ae33 100644
--- a/remoting/protocol/connection_to_client.cc
+++ b/remoting/protocol/connection_to_client.cc
@@ -64,6 +64,10 @@ void ConnectionToClient::Disconnect() {
}
}
+void ConnectionToClient::UpdateSequenceNumber(int64 sequence_number) {
+ handler_->OnSequenceNumberUpdated(this, sequence_number);
+}
+
VideoStub* ConnectionToClient::video_stub() {
return video_writer_.get();
}
@@ -88,7 +92,7 @@ void ConnectionToClient::OnSessionStateChange(protocol::Session::State state) {
video_writer_->Init(session_);
dispatcher_.reset(new HostMessageDispatcher());
- dispatcher_->Initialize(session_.get(), host_stub_, input_stub_);
+ dispatcher_->Initialize(this, host_stub_, input_stub_);
}
// This method can be called from main thread so perform threading switching.
« no previous file with comments | « remoting/protocol/connection_to_client.h ('k') | remoting/protocol/host_message_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698