Index: remoting/protocol/connection_to_client.h |
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h |
index 269411704d314086ee12b0bbb8558281c7a115ce..db7bcb64c36100c297f77c579a6c9be6ce236b79 100644 |
--- a/remoting/protocol/connection_to_client.h |
+++ b/remoting/protocol/connection_to_client.h |
@@ -25,6 +25,7 @@ class ClientStub; |
class ClipboardStub; |
class HostStub; |
class InputStub; |
+class ProcessStatsStub; |
class Session; |
class VideoStream; |
@@ -89,6 +90,10 @@ class ConnectionToClient { |
// after OnConnectionClosed(). |
virtual ClientStub* client_stub() = 0; |
+ // The process stats stub used by the host to send process usage data to the |
+ // client. The stub may be nullptr. |
+ virtual ProcessStatsStub* stats_stub() = 0; |
+ |
// Set the stubs which will handle messages we receive from the client. These |
// must be called in EventHandler::OnConnectionAuthenticated(). |
virtual void set_clipboard_stub(ClipboardStub* clipboard_stub) = 0; |