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

Unified Diff: content/renderer/media/mock_media_stream_dependency_factory.h

Issue 11783059: Ensures that WebRTC works for device selection using a different sample rate than default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix after review from Chris Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/mock_media_stream_dependency_factory.h
diff --git a/content/renderer/media/mock_media_stream_dependency_factory.h b/content/renderer/media/mock_media_stream_dependency_factory.h
index edfa4f78b9186c13f8931f9c10ad9ddca4052f72..ca11a797edf836f5d75b44eba040234a992849f1 100644
--- a/content/renderer/media/mock_media_stream_dependency_factory.h
+++ b/content/renderer/media/mock_media_stream_dependency_factory.h
@@ -105,6 +105,10 @@ class MockMediaStreamDependencyFactory : public MediaStreamDependencyFactory {
int video_session_id,
bool is_screencast,
const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;
+ virtual bool InitializeAudioSource(
+ const StreamDeviceInfo& device_info) OVERRIDE;
+ virtual bool CreateWebAudioSource(
+ WebKit::WebMediaStreamSource* source) OVERRIDE;
virtual scoped_refptr<webrtc::LocalMediaStreamInterface>
CreateLocalMediaStream(const std::string& label) OVERRIDE;
virtual scoped_refptr<webrtc::VideoTrackInterface>
@@ -123,7 +127,6 @@ class MockMediaStreamDependencyFactory : public MediaStreamDependencyFactory {
virtual bool EnsurePeerConnectionFactory() OVERRIDE;
virtual bool PeerConnectionFactoryCreated() OVERRIDE;
- virtual void SetAudioDeviceSessionId(int session_id) OVERRIDE;
MockVideoSource* last_video_source() { return last_video_source_; }

Powered by Google App Engine
This is Rietveld 408576698