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

Unified Diff: remoting/host/client_session.h

Issue 1673723002: Use IpcVideoFrameCapturer on network thread instead of capturer thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 750a8af797122abede470f4133e0d13465e40c26..039659193ffea702587e55e9d503bd9f41e067bf 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -86,19 +86,13 @@ class ClientSession
// |event_handler| and |desktop_environment_factory| must outlive |this|.
// All |HostExtension|s in |extensions| must outlive |this|.
- ClientSession(
- EventHandler* event_handler,
- scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
- scoped_ptr<protocol::ConnectionToClient> connection,
- DesktopEnvironmentFactory* desktop_environment_factory,
- const base::TimeDelta& max_duration,
- scoped_refptr<protocol::PairingRegistry> pairing_registry,
- const std::vector<HostExtension*>& extensions);
+ ClientSession(EventHandler* event_handler,
+ scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
+ scoped_ptr<protocol::ConnectionToClient> connection,
+ DesktopEnvironmentFactory* desktop_environment_factory,
+ const base::TimeDelta& max_duration,
+ scoped_refptr<protocol::PairingRegistry> pairing_registry,
+ const std::vector<HostExtension*>& extensions);
~ClientSession() override;
// Returns the set of capabilities negotiated between client and host.
@@ -203,11 +197,6 @@ class ClientSession
base::OneShotTimer max_duration_timer_;
scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
// Objects responsible for sending video, audio and mouse shape.
// |video_stream_| and |mouse_shape_pump_| may be nullptr if the video
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698