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

Unified Diff: remoting/protocol/host_event_dispatcher.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/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 3f1bd88c81ba30a6c8ad81e3903c02f329046f00..8fa35643241f39fc8ff1539300e6f0f20140e4b7 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)> EventTimestampCallback;
+ typedef base::Callback<void(int64_t)> OnInputEventCallback;
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_event_timestamp_callback(const EventTimestampCallback& value) {
- event_timestamp_callback_ = value;
+ void set_on_input_event_callback(const OnInputEventCallback& value) {
+ on_input_event_callback_ = value;
}
private:
@@ -39,7 +39,7 @@ class HostEventDispatcher : public ChannelDispatcherBase {
const base::Closure& done_task);
InputStub* input_stub_;
- EventTimestampCallback event_timestamp_callback_;
+ OnInputEventCallback on_input_event_callback_;
ProtobufMessageParser<EventMessage> parser_;
« 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