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> | 7 #include <utility> |
8 | 8 |
9 #include "remoting/codec/video_encoder.h" | 9 #include "remoting/codec/video_encoder.h" |
10 #include "remoting/protocol/audio_source.h" | 10 #include "remoting/protocol/audio_source.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 } | 93 } |
94 | 94 |
95 void FakeConnectionToClient::set_host_stub(HostStub* host_stub) { | 95 void FakeConnectionToClient::set_host_stub(HostStub* host_stub) { |
96 host_stub_ = host_stub; | 96 host_stub_ = host_stub; |
97 } | 97 } |
98 | 98 |
99 void FakeConnectionToClient::set_input_stub(InputStub* input_stub) { | 99 void FakeConnectionToClient::set_input_stub(InputStub* input_stub) { |
100 input_stub_ = input_stub; | 100 input_stub_ = input_stub; |
101 } | 101 } |
102 | 102 |
| 103 ProcessStatsStub* FakeConnectionToClient::stats_stub() { |
| 104 return stats_stub_; |
| 105 } |
| 106 |
103 } // namespace protocol | 107 } // namespace protocol |
104 } // namespace remoting | 108 } // namespace remoting |
OLD | NEW |