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

Unified Diff: content/browser/renderer_host/media/audio_output_delegate_impl.cc

Issue 2784563003: WebRTC Audio private API: removing WebRtcAudioPrivate(Set/Get)ActiveSinkFunction (Closed)
Patch Set: nitfixes Created 3 years, 9 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/browser/renderer_host/media/audio_output_delegate_impl.cc
diff --git a/content/browser/renderer_host/media/audio_output_delegate_impl.cc b/content/browser/renderer_host/media/audio_output_delegate_impl.cc
index 84aecefb791193a916cfabd098467357d37c52be..c7fa41edf45d4657f97bf13dd9793b64f8062464 100644
--- a/content/browser/renderer_host/media/audio_output_delegate_impl.cc
+++ b/content/browser/renderer_host/media/audio_output_delegate_impl.cc
@@ -139,11 +139,6 @@ AudioOutputDelegateImpl::~AudioOutputDelegateImpl() {
base::Passed(&reader_), controller_));
}
-scoped_refptr<media::AudioOutputController>
-AudioOutputDelegateImpl::GetController() const {
- return controller_;
-}
-
int AudioOutputDelegateImpl::GetStreamId() const {
return stream_id_;
}
@@ -201,4 +196,8 @@ void AudioOutputDelegateImpl::OnError() {
subscriber_->OnStreamError(stream_id_);
}
+media::AudioOutputController* AudioOutputDelegateImpl::GetControllerForTesting()
+ const {
+ return controller_.get();
+}
Devlin 2017/04/05 14:13:55 drive-by nit: \n
o1ka 2017/04/06 12:18:29 Done.
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698