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

Unified Diff: remoting/protocol/connection_to_client.h

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/proto/video.proto ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client.h
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index 43c0b1afa0ccc793ff5a98261366188a84054200..2425546d26b054a437ff01502a197fdd2404f348 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -52,9 +52,9 @@ class ConnectionToClient : public base::NonThreadSafe,
virtual void OnConnectionClosed(ConnectionToClient* connection,
ErrorCode error) = 0;
- // Called when sequence number is updated.
- virtual void OnEventTimestamp(ConnectionToClient* connection,
- int64 timestamp) = 0;
+ // Called when a new input event is received.
+ virtual void OnInputEventReceived(ConnectionToClient* connection,
+ int64_t timestamp) = 0;
// Called on notification of a route change event, which happens when a
// channel is connected.
@@ -83,7 +83,7 @@ class ConnectionToClient : public base::NonThreadSafe,
// Callback for HostEventDispatcher to be called with a timestamp for each
// received event.
- virtual void OnEventTimestamp(int64 timestamp);
+ virtual void OnInputEventReceived(int64_t timestamp);
// Get the stubs used by the host to transmit messages to the client.
// The stubs must not be accessed before OnConnectionAuthenticated(), or
« no previous file with comments | « remoting/proto/video.proto ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698