| 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 13d0ee36c2d988c80e9d60149617e088b5a2c17e..8431ade6457f8734b652efcc2bc5a3ae75ac1602 100644
|
| --- a/remoting/protocol/webrtc_connection_to_client.h
|
| +++ b/remoting/protocol/webrtc_connection_to_client.h
|
| @@ -30,7 +30,8 @@ class WebrtcConnectionToClient : public ConnectionToClient,
|
| public:
|
| WebrtcConnectionToClient(
|
| scoped_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.
|
| @@ -68,10 +69,12 @@ class WebrtcConnectionToClient : public ConnectionToClient,
|
| // Event handler for handling events sent from this object.
|
| ConnectionToClient::EventHandler* event_handler_ = nullptr;
|
|
|
| - WebrtcTransport transport_;
|
| + scoped_ptr<WebrtcTransport> transport_;
|
|
|
| scoped_ptr<Session> session_;
|
|
|
| + scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_;
|
| +
|
| scoped_ptr<HostControlDispatcher> control_dispatcher_;
|
| scoped_ptr<HostEventDispatcher> event_dispatcher_;
|
|
|
|
|