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() { | |
10 } | |
11 | |
12 void MockPeerConnectionImpl::RegisterObserver( | |
13 PeerConnectionObserver* observer) { | |
tommi (sloooow) - chröme
2011/10/25 09:58:34
does this need to be wrapped?
Henrik Grunell
2011/10/25 12:14:32
Yes, one char too long.
| |
14 } | |
15 | |
16 bool MockPeerConnectionImpl::SignalingMessage( | |
tommi (sloooow) - chröme
2011/10/25 09:58:34
and this?
Henrik Grunell
2011/10/25 12:14:32
Yes.
| |
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 |