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

Unified Diff: remoting/protocol/webrtc_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/process_stats_stub.h ('k') | remoting/protocol/webrtc_connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_connection_to_client.h
diff --git a/remoting/protocol/webrtc_connection_to_client.h b/remoting/protocol/webrtc_connection_to_client.h
index 1ccd2c82dfc5f8d37cb2caefc753be66d5d3fb75..cd468d3e7bbe09223676ba5585beaf3454431518 100644
--- a/remoting/protocol/webrtc_connection_to_client.h
+++ b/remoting/protocol/webrtc_connection_to_client.h
@@ -23,6 +23,7 @@ namespace protocol {
class HostControlDispatcher;
class HostEventDispatcher;
+class ProcessStatsDispatcher;
class WebrtcConnectionToClient : public ConnectionToClient,
public Session::EventHandler,
@@ -46,6 +47,7 @@ class WebrtcConnectionToClient : public ConnectionToClient,
std::unique_ptr<AudioStream> StartAudioStream(
std::unique_ptr<AudioSource> audio_source) override;
ClientStub* client_stub() override;
+ ProcessStatsStub* stats_stub() override;
void set_clipboard_stub(ClipboardStub* clipboard_stub) override;
void set_host_stub(HostStub* host_stub) override;
void set_input_stub(InputStub* input_stub) override;
@@ -84,6 +86,7 @@ class WebrtcConnectionToClient : public ConnectionToClient,
std::unique_ptr<HostControlDispatcher> control_dispatcher_;
std::unique_ptr<HostEventDispatcher> event_dispatcher_;
+ std::unique_ptr<ProcessStatsDispatcher> stats_dispatcher_;
base::WeakPtrFactory<WebrtcConnectionToClient> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToClient);
« no previous file with comments | « remoting/protocol/process_stats_stub.h ('k') | remoting/protocol/webrtc_connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698