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

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: updated api version Created 3 years, 8 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 43df083043784da4903d6917b1218e493571328c..226c57ac386b81b61c5304d5f06b7c1beaa83321 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,9 @@ void AudioOutputDelegateImpl::OnError() {
subscriber_->OnStreamError(stream_id_);
}
+media::AudioOutputController* AudioOutputDelegateImpl::GetControllerForTesting()
+ const {
+ return controller_.get();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698