OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/renderer/media/mock_peer_connection_impl.h" | 5 #include "content/renderer/media/mock_peer_connection_impl.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 MockPeerConnectionImpl::ReadyState MockPeerConnectionImpl::ready_state() { | 84 MockPeerConnectionImpl::ReadyState MockPeerConnectionImpl::ready_state() { |
85 NOTIMPLEMENTED(); | 85 NOTIMPLEMENTED(); |
86 return kNew; | 86 return kNew; |
87 } | 87 } |
88 | 88 |
89 MockPeerConnectionImpl::SdpState MockPeerConnectionImpl::sdp_state() { | 89 MockPeerConnectionImpl::SdpState MockPeerConnectionImpl::sdp_state() { |
90 NOTIMPLEMENTED(); | 90 NOTIMPLEMENTED(); |
91 return kSdpNew; | 91 return kSdpNew; |
92 } | 92 } |
93 | 93 |
94 void MockPeerConnectionImpl::StartIce(IceOptions options) { | 94 bool MockPeerConnectionImpl::StartIce(IceOptions options) { |
95 NOTIMPLEMENTED(); | 95 NOTIMPLEMENTED(); |
| 96 return false; |
96 } | 97 } |
97 | 98 |
98 webrtc::SessionDescriptionInterface* MockPeerConnectionImpl::CreateOffer( | 99 webrtc::SessionDescriptionInterface* MockPeerConnectionImpl::CreateOffer( |
99 const webrtc::MediaHints& hints) { | 100 const webrtc::MediaHints& hints) { |
100 NOTIMPLEMENTED(); | 101 NOTIMPLEMENTED(); |
101 return NULL; | 102 return NULL; |
102 } | 103 } |
103 | 104 |
104 webrtc::SessionDescriptionInterface* MockPeerConnectionImpl::CreateAnswer( | 105 webrtc::SessionDescriptionInterface* MockPeerConnectionImpl::CreateAnswer( |
105 const webrtc::MediaHints& hints, | 106 const webrtc::MediaHints& hints, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 const { | 141 const { |
141 NOTIMPLEMENTED(); | 142 NOTIMPLEMENTED(); |
142 return NULL; | 143 return NULL; |
143 } | 144 } |
144 | 145 |
145 void MockPeerConnectionImpl::AddRemoteStream(MediaStreamInterface* stream) { | 146 void MockPeerConnectionImpl::AddRemoteStream(MediaStreamInterface* stream) { |
146 remote_streams_->AddStream(stream); | 147 remote_streams_->AddStream(stream); |
147 } | 148 } |
148 | 149 |
149 } // namespace webrtc | 150 } // namespace webrtc |
OLD | NEW |