| Index: remoting/host/client_session.cc
|
| diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
|
| index f3fcbc31758969bb34db427c70c041f2f81e85eb..dcb87044efc8a0a2aa9c4c7b325e8ddccc85a6ae 100644
|
| --- a/remoting/host/client_session.cc
|
| +++ b/remoting/host/client_session.cc
|
| @@ -295,9 +295,6 @@
|
|
|
| // Pause capturing if necessary.
|
| video_stream_->Pause(pause_video_);
|
| -
|
| - if (event_timestamp_source_for_tests_)
|
| - video_stream_->SetEventTimestampsSource(event_timestamp_source_for_tests_);
|
| }
|
|
|
| void ClientSession::OnConnectionChannelsConnected() {
|
| @@ -407,17 +404,9 @@
|
| return this;
|
| }
|
|
|
| -void ClientSession::SetEventTimestampsSourceForTests(
|
| - scoped_refptr<protocol::InputEventTimestampsSource>
|
| - event_timestamp_source) {
|
| - DCHECK(CalledOnValidThread());
|
| - event_timestamp_source_for_tests_ = event_timestamp_source;
|
| - if (video_stream_)
|
| - video_stream_->SetEventTimestampsSource(event_timestamp_source_for_tests_);
|
| -}
|
| -
|
| std::unique_ptr<protocol::ClipboardStub> ClientSession::CreateClipboardProxy() {
|
| DCHECK(CalledOnValidThread());
|
| +
|
| return base::MakeUnique<protocol::ClipboardThreadProxy>(
|
| client_clipboard_factory_.GetWeakPtr(),
|
| base::ThreadTaskRunnerHandle::Get());
|
|
|