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

Unified Diff: remoting/protocol/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/BUILD.gn ('k') | remoting/protocol/fake_connection_to_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | remoting/protocol/fake_connection_to_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698