Index: content/renderer/media/webrtc_audio_device_impl.h |
diff --git a/content/renderer/media/webrtc_audio_device_impl.h b/content/renderer/media/webrtc_audio_device_impl.h |
index f9279f5f6ff5c4986b1afd62e5223228426ae690..15790d269c993469cf50f025851514270b372608 100644 |
--- a/content/renderer/media/webrtc_audio_device_impl.h |
+++ b/content/renderer/media/webrtc_audio_device_impl.h |
@@ -305,6 +305,9 @@ class CONTENT_EXPORT WebRtcAudioDeviceImpl |
void AddAudioCapturer(const scoped_refptr<WebRtcAudioCapturer>& capturer); |
void RemoveAudioCapturer(const scoped_refptr<WebRtcAudioCapturer>& capturer); |
+ // Gets the default capturer, which is the last capturer in |capturers_|. |
+ scoped_refptr<WebRtcAudioCapturer> GetDefaultCapturer() const; |
+ |
// Gets paired device information of the capture device for the audio |
// renderer. This is used to pass on a session id, sample rate and buffer |
// size to a webrtc audio renderer (either local or remote), so that audio |
@@ -362,10 +365,6 @@ class CONTENT_EXPORT WebRtcAudioDeviceImpl |
virtual void SetRenderFormat(const media::AudioParameters& params) OVERRIDE; |
virtual void RemoveAudioRenderer(WebRtcAudioRenderer* renderer) OVERRIDE; |
- // Helper to get the default capturer, which is the last capturer in |
- // |capturers_|. |
- scoped_refptr<WebRtcAudioCapturer> GetDefaultCapturer() const; |
- |
// Used to DCHECK that we are called on the correct thread. |
base::ThreadChecker thread_checker_; |