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

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

Issue 11141008: Roll libjingle to r204 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unhappy overrides Created 8 years, 2 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 } 120 }
121 121
122 void MockLocalVideoTrack::RegisterObserver(ObserverInterface* observer) { 122 void MockLocalVideoTrack::RegisterObserver(ObserverInterface* observer) {
123 NOTIMPLEMENTED(); 123 NOTIMPLEMENTED();
124 } 124 }
125 125
126 void MockLocalVideoTrack::UnregisterObserver(ObserverInterface* observer) { 126 void MockLocalVideoTrack::UnregisterObserver(ObserverInterface* observer) {
127 NOTIMPLEMENTED(); 127 NOTIMPLEMENTED();
128 } 128 }
129 129
130 VideoSourceInterface* MockLocalVideoTrack::GetSource() const {
131 NOTIMPLEMENTED();
132 return NULL;
133 }
134
130 AudioDeviceModule* MockLocalAudioTrack::GetAudioDevice() { 135 AudioDeviceModule* MockLocalAudioTrack::GetAudioDevice() {
131 NOTIMPLEMENTED(); 136 NOTIMPLEMENTED();
132 return NULL; 137 return NULL;
133 } 138 }
134 139
135 std::string MockLocalAudioTrack::kind() const { 140 std::string MockLocalAudioTrack::kind() const {
136 NOTIMPLEMENTED(); 141 NOTIMPLEMENTED();
137 return ""; 142 return "";
138 } 143 }
139 144
(...skipping 17 matching lines...) Expand all
157 } 162 }
158 163
159 void MockLocalAudioTrack::RegisterObserver(ObserverInterface* observer) { 164 void MockLocalAudioTrack::RegisterObserver(ObserverInterface* observer) {
160 NOTIMPLEMENTED(); 165 NOTIMPLEMENTED();
161 } 166 }
162 167
163 void MockLocalAudioTrack::UnregisterObserver(ObserverInterface* observer) { 168 void MockLocalAudioTrack::UnregisterObserver(ObserverInterface* observer) {
164 NOTIMPLEMENTED(); 169 NOTIMPLEMENTED();
165 } 170 }
166 171
172 AudioSourceInterface* MockLocalAudioTrack::GetSource() const {
173 NOTIMPLEMENTED();
174 return NULL;
175 }
176
167 class MockSessionDescription : public SessionDescriptionInterface { 177 class MockSessionDescription : public SessionDescriptionInterface {
168 public: 178 public:
169 MockSessionDescription(const std::string& type, 179 MockSessionDescription(const std::string& type,
170 const std::string& sdp) 180 const std::string& sdp)
171 : type_(type), 181 : type_(type),
172 sdp_(sdp) { 182 sdp_(sdp) {
173 } 183 }
174 virtual ~MockSessionDescription() {} 184 virtual ~MockSessionDescription() {}
175 virtual cricket::SessionDescription* description() OVERRIDE { 185 virtual cricket::SessionDescription* description() OVERRIDE {
176 NOTIMPLEMENTED(); 186 NOTIMPLEMENTED();
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 webrtc::IceCandidateInterface* 335 webrtc::IceCandidateInterface*
326 MockMediaStreamDependencyFactory::CreateIceCandidate( 336 MockMediaStreamDependencyFactory::CreateIceCandidate(
327 const std::string& sdp_mid, 337 const std::string& sdp_mid,
328 int sdp_mline_index, 338 int sdp_mline_index,
329 const std::string& sdp) { 339 const std::string& sdp) {
330 return new webrtc::MockIceCandidate(sdp_mid, sdp_mline_index, sdp); 340 return new webrtc::MockIceCandidate(sdp_mid, sdp_mline_index, sdp);
331 } 341 }
332 342
333 void MockMediaStreamDependencyFactory::SetAudioDeviceSessionId(int session_id) { 343 void MockMediaStreamDependencyFactory::SetAudioDeviceSessionId(int session_id) {
334 } 344 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698