| Index: remoting/host/client_session.h
|
| diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
|
| index 55e06d1f7f4afc00de76e1480228f27c89ae15c5..3c5aafda151ea77a4507917dde567bd34707ac43 100644
|
| --- a/remoting/host/client_session.h
|
| +++ b/remoting/host/client_session.h
|
| @@ -18,6 +18,7 @@
|
| #include "base/timer/timer.h"
|
| #include "remoting/host/client_session_control.h"
|
| #include "remoting/host/client_session_details.h"
|
| +#include "remoting/host/current_process_stats_agent.h"
|
| #include "remoting/host/desktop_environment_options.h"
|
| #include "remoting/host/host_experiment_session_plugin.h"
|
| #include "remoting/host/host_extension_session_manager.h"
|
| @@ -42,6 +43,7 @@ class DesktopEnvironment;
|
| class DesktopEnvironmentFactory;
|
| class InputInjector;
|
| class MouseShapePump;
|
| +class ProcessStatsSender;
|
| class ScreenControls;
|
|
|
| namespace protocol {
|
| @@ -248,6 +250,12 @@ class ClientSession : public base::NonThreadSafe,
|
|
|
| HostExperimentSessionPlugin host_experiment_session_plugin_;
|
|
|
| + // Reports resource usage through ConnectionToClient.
|
| + std::unique_ptr<ProcessStatsSender> stats_sender_;
|
| +
|
| + // Retrieves resource usage of current process.
|
| + CurrentProcessStatsAgent current_process_stats_agent_;
|
| +
|
| // Used to disable callbacks to |this| once DisconnectSession() has been
|
| // called.
|
| base::WeakPtrFactory<ClientSessionControl> weak_factory_;
|
|
|