| 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 d5ce65f269eb5b98245b4421c27f0c7840c60611..31495cc3342bce0d5d61e24d30955c688b08fdb7 100644
|
| --- a/remoting/protocol/webrtc_connection_to_client.h
|
| +++ b/remoting/protocol/webrtc_connection_to_client.h
|
| @@ -31,7 +31,8 @@ class WebrtcConnectionToClient : public ConnectionToClient,
|
| public:
|
| WebrtcConnectionToClient(
|
| std::unique_ptr<Session> session,
|
| - scoped_refptr<protocol::TransportContext> transport_context);
|
| + scoped_refptr<protocol::TransportContext> transport_context,
|
| + scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner);
|
| ~WebrtcConnectionToClient() override;
|
|
|
| // ConnectionToClient interface.
|
| @@ -69,13 +70,14 @@ class WebrtcConnectionToClient : public ConnectionToClient,
|
| // Event handler for handling events sent from this object.
|
| ConnectionToClient::EventHandler* event_handler_ = nullptr;
|
|
|
| - WebrtcTransport transport_;
|
| + std::unique_ptr<WebrtcTransport> transport_;
|
|
|
| std::unique_ptr<Session> session_;
|
|
|
| + scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_;
|
| +
|
| std::unique_ptr<HostControlDispatcher> control_dispatcher_;
|
| std::unique_ptr<HostEventDispatcher> event_dispatcher_;
|
| -
|
| base::WeakPtrFactory<WebrtcConnectionToClient> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToClient);
|
|
|