Index: remoting/protocol/connection_to_client.cc |
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc |
index 0da2324e55db79a1802d26f4e6a2b6b3601e75e5..2135190b809257605ca11267eebe8b59efc4ef14 100644 |
--- a/remoting/protocol/connection_to_client.cc |
+++ b/remoting/protocol/connection_to_client.cc |
@@ -50,9 +50,9 @@ void ConnectionToClient::Disconnect() { |
session_->Close(); |
} |
-void ConnectionToClient::UpdateSequenceNumber(int64 sequence_number) { |
+void ConnectionToClient::OnEventTimestamp(int64 sequence_number) { |
DCHECK(CalledOnValidThread()); |
- handler_->OnSequenceNumberUpdated(this, sequence_number); |
+ handler_->OnEventTimestamp(this, sequence_number); |
} |
VideoStub* ConnectionToClient::video_stub() { |
@@ -132,8 +132,8 @@ void ConnectionToClient::OnSessionStateChange(Session::State state) { |
base::Bind(&ConnectionToClient::OnChannelInitialized, |
base::Unretained(this))); |
event_dispatcher_->set_input_stub(input_stub_); |
- event_dispatcher_->set_sequence_number_callback(base::Bind( |
- &ConnectionToClient::UpdateSequenceNumber, base::Unretained(this))); |
+ event_dispatcher_->set_event_timestamp_callback(base::Bind( |
+ &ConnectionToClient::OnEventTimestamp, base::Unretained(this))); |
video_dispatcher_.reset(new HostVideoDispatcher()); |
video_dispatcher_->Init( |