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

Unified Diff: remoting/protocol/host_event_dispatcher.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/connection_to_client.cc ('k') | remoting/protocol/host_event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/host_event_dispatcher.h
diff --git a/remoting/protocol/host_event_dispatcher.h b/remoting/protocol/host_event_dispatcher.h
index 968db88081e3a4f6249361a4be60970c2575fa5b..aaa5fe9da055253b04aee2ad9081eb11c5aabfcb 100644
--- a/remoting/protocol/host_event_dispatcher.h
+++ b/remoting/protocol/host_event_dispatcher.h
@@ -18,7 +18,7 @@ class InputStub;
// channel to InputStub.
class HostEventDispatcher : public ChannelDispatcherBase {
public:
- typedef base::Callback<void(int64)> SequenceNumberCallback;
+ typedef base::Callback<void(int64)> EventTimestampCallback;
HostEventDispatcher();
~HostEventDispatcher() override;
@@ -30,8 +30,8 @@ class HostEventDispatcher : public ChannelDispatcherBase {
// Set callback to notify of each message's sequence number. The
// callback cannot tear down this object.
- void set_sequence_number_callback(const SequenceNumberCallback& value) {
- sequence_number_callback_ = value;
+ void set_event_timestamp_callback(const EventTimestampCallback& value) {
+ event_timestamp_callback_ = value;
}
protected:
@@ -43,7 +43,7 @@ class HostEventDispatcher : public ChannelDispatcherBase {
const base::Closure& done_task);
InputStub* input_stub_;
- SequenceNumberCallback sequence_number_callback_;
+ EventTimestampCallback event_timestamp_callback_;
ProtobufMessageReader<EventMessage> reader_;
« no previous file with comments | « remoting/protocol/connection_to_client.cc ('k') | remoting/protocol/host_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698