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) { |
| 95 NOTIMPLEMENTED(); |
| 96 } |
| 97 |
| 98 webrtc::SessionDescriptionInterface* MockPeerConnectionImpl::CreateOffer( |
| 99 const webrtc::MediaHints& hints) { |
| 100 NOTIMPLEMENTED(); |
| 101 return NULL; |
| 102 } |
| 103 |
| 104 webrtc::SessionDescriptionInterface* MockPeerConnectionImpl::CreateAnswer( |
| 105 const webrtc::MediaHints& hints, |
| 106 const webrtc::SessionDescriptionInterface* offer) { |
| 107 NOTIMPLEMENTED(); |
| 108 return NULL; |
| 109 } |
| 110 |
| 111 bool MockPeerConnectionImpl::SetLocalDescription( |
| 112 Action action, |
| 113 webrtc::SessionDescriptionInterface* desc) { |
| 114 NOTIMPLEMENTED(); |
| 115 return false; |
| 116 } |
| 117 |
| 118 bool MockPeerConnectionImpl::SetRemoteDescription( |
| 119 Action action, |
| 120 webrtc::SessionDescriptionInterface* desc) { |
| 121 NOTIMPLEMENTED(); |
| 122 return false; |
| 123 } |
| 124 |
| 125 bool MockPeerConnectionImpl::ProcessIceMessage( |
| 126 const webrtc::IceCandidateInterface* ice_candidate) { |
| 127 NOTIMPLEMENTED(); |
| 128 return false; |
| 129 } |
| 130 |
| 131 const webrtc::SessionDescriptionInterface* |
| 132 MockPeerConnectionImpl::local_description() |
| 133 const { |
| 134 NOTIMPLEMENTED(); |
| 135 return NULL; |
| 136 } |
| 137 |
| 138 const webrtc::SessionDescriptionInterface* |
| 139 MockPeerConnectionImpl::remote_description() |
| 140 const { |
| 141 NOTIMPLEMENTED(); |
| 142 return NULL; |
| 143 } |
| 144 |
94 void MockPeerConnectionImpl::AddRemoteStream(MediaStreamInterface* stream) { | 145 void MockPeerConnectionImpl::AddRemoteStream(MediaStreamInterface* stream) { |
95 remote_streams_->AddStream(stream); | 146 remote_streams_->AddStream(stream); |
96 } | 147 } |
97 | 148 |
98 } // namespace webrtc | 149 } // namespace webrtc |
OLD | NEW |