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; |