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

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

Issue 10382003: Changes needed to roll libjingle r141 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "content/renderer/media/mock_media_stream_dependency_factory.h" 6 #include "content/renderer/media/mock_media_stream_dependency_factory.h"
7 #include "content/renderer/media/mock_peer_connection_impl.h" 7 #include "content/renderer/media/mock_peer_connection_impl.h"
8 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h" 8 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h"
9 #include "third_party/libjingle/source/talk/base/scoped_ref_ptr.h" 9 #include "third_party/libjingle/source/talk/base/scoped_ref_ptr.h"
10 10
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 return ""; 178 return "";
179 } 179 }
180 virtual bool AddCandidate(const IceCandidateInterface* candidate) OVERRIDE { 180 virtual bool AddCandidate(const IceCandidateInterface* candidate) OVERRIDE {
181 NOTIMPLEMENTED(); 181 NOTIMPLEMENTED();
182 return false; 182 return false;
183 } 183 }
184 virtual size_t number_of_mediasections() const OVERRIDE { 184 virtual size_t number_of_mediasections() const OVERRIDE {
185 NOTIMPLEMENTED(); 185 NOTIMPLEMENTED();
186 return 0; 186 return 0;
187 } 187 }
188 virtual const IceCandidateColletion* candidates( 188 virtual const IceCandidateCollection* candidates(
189 size_t mediasection_index) const OVERRIDE { 189 size_t mediasection_index) const OVERRIDE {
190 NOTIMPLEMENTED(); 190 NOTIMPLEMENTED();
191 return NULL; 191 return NULL;
192 } 192 }
193
193 virtual bool ToString(std::string* out) const OVERRIDE { 194 virtual bool ToString(std::string* out) const OVERRIDE {
194 *out = sdp_; 195 *out = sdp_;
195 return true; 196 return true;
196 } 197 }
197 198
198 private: 199 private:
199 std::string sdp_; 200 std::string sdp_;
200 }; 201 };
201 202
202 class MockIceCandidate : public IceCandidateInterface { 203 class MockIceCandidate : public IceCandidateInterface {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 const std::string& sdp) { 302 const std::string& sdp) {
302 return new webrtc::MockSessionDescription(sdp); 303 return new webrtc::MockSessionDescription(sdp);
303 } 304 }
304 305
305 webrtc::IceCandidateInterface* 306 webrtc::IceCandidateInterface*
306 MockMediaStreamDependencyFactory::CreateIceCandidate( 307 MockMediaStreamDependencyFactory::CreateIceCandidate(
307 const std::string& label, 308 const std::string& label,
308 const std::string& sdp) { 309 const std::string& sdp) {
309 return new webrtc::MockIceCandidate(label, sdp); 310 return new webrtc::MockIceCandidate(label, sdp);
310 } 311 }
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_dependency_factory.cc ('k') | content/renderer/media/mock_peer_connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698