| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "remoting/protocol/fake_connection_to_client.h" | 5 #include "remoting/protocol/fake_connection_to_client.h" |
| 6 | 6 |
| 7 #include <utility> |
| 8 |
| 7 #include "remoting/protocol/session.h" | 9 #include "remoting/protocol/session.h" |
| 8 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" | 10 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
| 9 | 11 |
| 10 namespace remoting { | 12 namespace remoting { |
| 11 namespace protocol { | 13 namespace protocol { |
| 12 | 14 |
| 13 FakeVideoStream::FakeVideoStream() : weak_factory_(this) {} | 15 FakeVideoStream::FakeVideoStream() : weak_factory_(this) {} |
| 14 FakeVideoStream::~FakeVideoStream() {} | 16 FakeVideoStream::~FakeVideoStream() {} |
| 15 | 17 |
| 16 void FakeVideoStream::Pause(bool pause) {} | 18 void FakeVideoStream::Pause(bool pause) {} |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 void FakeConnectionToClient::set_host_stub(HostStub* host_stub) { | 77 void FakeConnectionToClient::set_host_stub(HostStub* host_stub) { |
| 76 host_stub_ = host_stub; | 78 host_stub_ = host_stub; |
| 77 } | 79 } |
| 78 | 80 |
| 79 void FakeConnectionToClient::set_input_stub(InputStub* input_stub) { | 81 void FakeConnectionToClient::set_input_stub(InputStub* input_stub) { |
| 80 input_stub_ = input_stub; | 82 input_stub_ = input_stub; |
| 81 } | 83 } |
| 82 | 84 |
| 83 } // namespace protocol | 85 } // namespace protocol |
| 84 } // namespace remoting | 86 } // namespace remoting |
| OLD | NEW |