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

Unified Diff: remoting/host/client_session.cc

Issue 836183002: Rename sequence_number to timestamp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/host/client_session.h ('k') | remoting/host/video_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 5b7daba3a74cd22e249ec1f4cab82fa705e12176..d86c955afabf38d031baef680f27a9c82313dba4 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -383,13 +383,13 @@ void ClientSession::OnConnectionClosed(
event_handler_->OnSessionClosed(this);
}
-void ClientSession::OnSequenceNumberUpdated(
- protocol::ConnectionToClient* connection, int64 sequence_number) {
+void ClientSession::OnEventTimestamp(protocol::ConnectionToClient* connection,
+ int64 timestamp) {
DCHECK(CalledOnValidThread());
DCHECK_EQ(connection_.get(), connection);
if (video_scheduler_.get())
- video_scheduler_->UpdateSequenceNumber(sequence_number);
+ video_scheduler_->SetLatestEventTimestamp(timestamp);
}
void ClientSession::OnRouteChange(
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/video_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698