Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Side by Side Diff: content/renderer/media/mock_peer_connection_impl.cc

Issue 10689180: Rolling libjingle to 158:159 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_media_stream_dependency_factory.h" 5 #include "content/renderer/media/mock_media_stream_dependency_factory.h"
6 #include "content/renderer/media/mock_peer_connection_impl.h" 6 #include "content/renderer/media/mock_peer_connection_impl.h"
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 const webrtc::SessionDescriptionInterface* 161 const webrtc::SessionDescriptionInterface*
162 MockPeerConnectionImpl::remote_description() const { 162 MockPeerConnectionImpl::remote_description() const {
163 return remote_desc_.get(); 163 return remote_desc_.get();
164 } 164 }
165 165
166 void MockPeerConnectionImpl::AddRemoteStream(MediaStreamInterface* stream) { 166 void MockPeerConnectionImpl::AddRemoteStream(MediaStreamInterface* stream) {
167 remote_streams_->AddStream(stream); 167 remote_streams_->AddStream(stream);
168 } 168 }
169 169
170 // TODO(perkj): Implement JSEP01 mock functions.
171 void MockPeerConnectionImpl::CreateOffer(
172 CreateSessionDescriptionObserver* observer,
173 const SessionDescriptionOptions& options) {}
Sergey Ulanov 2012/07/13 01:22:48 move } to the next line.
Ronghua Wu (Left Chromium) 2012/07/13 18:26:35 Done.
174
175 void MockPeerConnectionImpl::CreateAnswer(
176 CreateSessionDescriptionObserver* observer,
177 const SessionDescriptionOptions& options) {}
178
179 void MockPeerConnectionImpl::SetLocalDescription(
180 SetSessionDescriptionObserver* observer,
181 SessionDescriptionInterface* desc) {}
182
183 void MockPeerConnectionImpl::SetRemoteDescription(
184 SetSessionDescriptionObserver* observer,
185 SessionDescriptionInterface* desc) {}
186
187 bool MockPeerConnectionImpl::UpdateIce(const IceServers& configuration,
188 IceOptions options) { return false; }
Sergey Ulanov 2012/07/13 01:22:48 move return to a separate line. This style is used
Ronghua Wu (Left Chromium) 2012/07/13 18:26:35 Done.
189
190 bool MockPeerConnectionImpl::AddIceCandidate(
191 const IceCandidateInterface* candidate) { return false; }
192
193 PeerConnectionInterface::IceState MockPeerConnectionImpl::ice_state() {
194 return kIceNew;
195 }
196
170 } // namespace webrtc 197 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698