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

Unified Diff: remoting/host/client_session.cc

Issue 1365663003: Add UMA histograms for more detailed latency tracking on the CRD host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed tests Created 5 years, 3 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_frame_pump.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 18b3c66c098dee4c20d5fac8e994bf17c300fe82..fb404e807f681e49e59349a9f3de25d51e98b880 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -404,13 +404,14 @@ void ClientSession::OnConnectionClosed(
event_handler_->OnSessionClosed(this);
}
-void ClientSession::OnEventTimestamp(protocol::ConnectionToClient* connection,
- int64 timestamp) {
+void ClientSession::OnInputEventReceived(
+ protocol::ConnectionToClient* connection,
+ int64_t event_timestamp) {
DCHECK(CalledOnValidThread());
DCHECK_EQ(connection_.get(), connection);
if (video_frame_pump_.get())
- video_frame_pump_->SetLatestEventTimestamp(timestamp);
+ video_frame_pump_->OnInputEventReceived(event_timestamp);
}
void ClientSession::OnRouteChange(
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/video_frame_pump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698