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

Unified Diff: remoting/protocol/fake_connection_to_client.h

Issue 2858813002: [Chromoting] Use ProcessStatsSender in host process
Patch Set: Created 3 years, 8 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.h ('k') | remoting/protocol/fake_connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_connection_to_client.h
diff --git a/remoting/protocol/fake_connection_to_client.h b/remoting/protocol/fake_connection_to_client.h
index 39440af3538fc7fc70c7a573ab5229675b57277d..8059940e08c802c955651dbee6b8e7861db3a714 100644
--- a/remoting/protocol/fake_connection_to_client.h
+++ b/remoting/protocol/fake_connection_to_client.h
@@ -87,6 +87,11 @@ class FakeConnectionToClient : public ConnectionToClient {
bool is_connected() { return is_connected_; }
ErrorCode disconnect_error() { return disconnect_error_; }
+ ProcessStatsStub* stats_stub() override;
+ void set_stats_stub(ProcessStatsStub* stats_stub) {
+ stats_stub_ = stats_stub;
+ }
+
private:
std::unique_ptr<Session> session_;
EventHandler* event_handler_ = nullptr;
@@ -95,6 +100,8 @@ class FakeConnectionToClient : public ConnectionToClient {
ClientStub* client_stub_ = nullptr;
+ ProcessStatsStub* stats_stub_ = nullptr;
+
ClipboardStub* clipboard_stub_ = nullptr;
HostStub* host_stub_ = nullptr;
InputStub* input_stub_ = nullptr;
« no previous file with comments | « remoting/protocol/connection_to_client.h ('k') | remoting/protocol/fake_connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698