Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "content/renderer/media/mock_peer_connection_impl.h" | |
| 6 | |
| 7 namespace webrtc { | |
| 8 | |
| 9 MockPeerConnectionImpl::MockPeerConnectionImpl() { | |
|
scherkus (not reviewing)
2011/10/31 01:59:13
nit: close braces {}
Henrik Grunell
2011/10/31 13:17:53
Done.
| |
| 10 } | |
| 11 | |
| 12 void MockPeerConnectionImpl::RegisterObserver( | |
| 13 PeerConnectionObserver* observer) { | |
| 14 } | |
| 15 | |
| 16 bool MockPeerConnectionImpl::SignalingMessage( | |
| 17 const std::string& signaling_message) { | |
| 18 signaling_message_ = signaling_message; | |
| 19 return true; | |
| 20 } | |
| 21 | |
| 22 bool MockPeerConnectionImpl::AddStream( | |
| 23 const std::string& stream_id, | |
| 24 bool video) { | |
| 25 return false; | |
| 26 } | |
| 27 | |
| 28 bool MockPeerConnectionImpl::RemoveStream(const std::string& stream_id) { | |
| 29 return false; | |
| 30 } | |
| 31 | |
| 32 bool MockPeerConnectionImpl::Connect() { | |
| 33 return false; | |
| 34 } | |
| 35 | |
| 36 bool MockPeerConnectionImpl::Close() { | |
| 37 return false; | |
| 38 } | |
| 39 | |
| 40 bool MockPeerConnectionImpl::SetAudioDevice( | |
| 41 const std::string& wave_in_device, | |
| 42 const std::string& wave_out_device, | |
| 43 int opts) { | |
| 44 return false; | |
| 45 } | |
| 46 | |
| 47 bool MockPeerConnectionImpl::SetLocalVideoRenderer( | |
| 48 cricket::VideoRenderer* renderer) { | |
| 49 return false; | |
| 50 } | |
| 51 | |
| 52 bool MockPeerConnectionImpl::SetVideoRenderer( | |
| 53 const std::string& stream_id, | |
| 54 cricket::VideoRenderer* renderer) { | |
| 55 return false; | |
| 56 } | |
| 57 | |
| 58 bool MockPeerConnectionImpl::SetVideoCapture(const std::string& cam_device) { | |
| 59 return false; | |
| 60 } | |
| 61 | |
| 62 MockPeerConnectionImpl::ReadyState MockPeerConnectionImpl::GetReadyState() { | |
| 63 return NEW; | |
| 64 } | |
| 65 | |
| 66 } // namespace webrtc | |
| OLD | NEW |