| Index: remoting/host/chromoting_host.h
|
| diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
|
| index 5186988f0b9eda0052080b9df28fe84248b003e5..557f3ec10fcd0abfeca5d407120b59065c6a0180 100644
|
| --- a/remoting/host/chromoting_host.h
|
| +++ b/remoting/host/chromoting_host.h
|
| @@ -17,6 +17,7 @@
|
| #include "base/threading/non_thread_safe.h"
|
| #include "base/threading/thread.h"
|
| #include "net/base/backoff_entry.h"
|
| +#include "remoting/host/chromoting_host_context.h"
|
| #include "remoting/host/client_session.h"
|
| #include "remoting/host/host_extension.h"
|
| #include "remoting/host/host_status_monitor.h"
|
| @@ -71,8 +72,7 @@ class ChromotingHost : public base::NonThreadSafe,
|
| DesktopEnvironmentFactory* desktop_environment_factory,
|
| std::unique_ptr<protocol::SessionManager> session_manager,
|
| scoped_refptr<protocol::TransportContext> transport_context,
|
| - scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
|
| - scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner);
|
| + const ChromotingHostContext& context);
|
| ~ChromotingHost() override;
|
|
|
| // Asynchronously starts the host.
|
| @@ -155,8 +155,7 @@ class ChromotingHost : public base::NonThreadSafe,
|
| DesktopEnvironmentFactory* desktop_environment_factory_;
|
| std::unique_ptr<protocol::SessionManager> session_manager_;
|
| scoped_refptr<protocol::TransportContext> transport_context_;
|
| - scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_;
|
| - scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_;
|
| + std::unique_ptr<ChromotingHostContext> context_;
|
|
|
| // Must be used on the network thread only.
|
| base::ObserverList<HostStatusObserver> status_observers_;
|
|
|