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

Unified Diff: remoting/host/client_session.h

Issue 2420183002: Don't use barcodes in ProtocolPerfTests (Closed)
Patch Set: Update ChromotingHost::OnSessionAuthenticated() to fix test crash Created 4 years, 2 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/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 96e177fca209b03ed68e8b4b3bec1355a65eb8e4..8f10358b016f6b4d3d9ad857dc4e9288eda5aa3c 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -140,6 +140,10 @@ class ClientSession : public base::NonThreadSafe,
return client_capabilities_.get();
}
+ void SetEventTimestampsSourceForTests(
+ scoped_refptr<protocol::InputEventTimestampsSource>
+ event_timestamp_source);
+
private:
// Creates a proxy for sending clipboard events to the client.
std::unique_ptr<protocol::ClipboardStub> CreateClipboardProxy();
@@ -237,6 +241,9 @@ class ClientSession : public base::NonThreadSafe,
// then it's stored in |pending_video_layout_message_|.
std::unique_ptr<protocol::VideoLayout> pending_video_layout_message_;
+ scoped_refptr<protocol::InputEventTimestampsSource>
+ event_timestamp_source_for_tests_;
+
// Used to disable callbacks to |this| once DisconnectSession() has been
// called.
base::WeakPtrFactory<ClientSessionControl> weak_factory_;
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698