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

Unified Diff: remoting/protocol/connection_to_client.h

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/protocol/client_event_dispatcher.cc ('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 cfbe35aad7ef61ceed2b0187db01e6879eb89e19..f221dcce86c0c276005d01ad07e131af946d089d 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -51,8 +51,8 @@ class ConnectionToClient : public base::NonThreadSafe,
ErrorCode error) = 0;
// Called when sequence number is updated.
- virtual void OnSequenceNumberUpdated(ConnectionToClient* connection,
- int64 sequence_number) = 0;
+ virtual void OnEventTimestamp(ConnectionToClient* connection,
+ int64 timestamp) = 0;
// Called on notification of a route change event, which happens when a
// channel is connected.
@@ -79,9 +79,9 @@ class ConnectionToClient : public base::NonThreadSafe,
// Disconnect the client connection.
virtual void Disconnect();
- // Update the sequence number when received from the client. EventHandler
- // will be called.
- virtual void UpdateSequenceNumber(int64 sequence_number);
+ // Callback for HostEventDispatcher to be called with a timestamp for each
+ // received event.
+ virtual void OnEventTimestamp(int64 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/protocol/client_event_dispatcher.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698