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

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

Issue 133903004: Cleaned up the WebRtcAudioCapturer a bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased and fixed the comment. Created 6 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/media_stream_dependency_factory.h
diff --git a/content/renderer/media/media_stream_dependency_factory.h b/content/renderer/media/media_stream_dependency_factory.h
index 0a0b120c376f62da4b43cfa21bcb7e468d849b72..22bbc5414c3e72e2c46f19ce33ca4a35b8a59a36 100644
--- a/content/renderer/media/media_stream_dependency_factory.h
+++ b/content/renderer/media/media_stream_dependency_factory.h
@@ -218,7 +218,7 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
// Returns a new capturer or existing capturer based on the |render_view_id|
// and |device_info|. When the |render_view_id| and |device_info| are valid,
// it reuses existing capture if any; otherwise it creates a new capturer.
- virtual scoped_refptr<WebRtcAudioCapturer> MaybeCreateAudioCapturer(
+ virtual scoped_refptr<WebRtcAudioCapturer> CreateAudioCapturer(
int render_view_id, const StreamDeviceInfo& device_info,
const blink::WebMediaConstraints& constraints);
« no previous file with comments | « content/browser/media/webrtc_browsertest.cc ('k') | content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698