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

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

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.h
diff --git a/content/browser/renderer_host/media/audio_output_delegate_impl.h b/content/browser/renderer_host/media/audio_output_delegate_impl.h
index e813479975610fa1f37b3ae36bc59967d3bd2f32..6c4cf2623bf9ed00f3bf95e1bd27df32e2f5be78 100644
--- a/content/browser/renderer_host/media/audio_output_delegate_impl.h
+++ b/content/browser/renderer_host/media/audio_output_delegate_impl.h
@@ -47,7 +47,6 @@ class CONTENT_EXPORT AudioOutputDelegateImpl
~AudioOutputDelegateImpl() override;
// AudioOutputDelegate implementation.
- scoped_refptr<media::AudioOutputController> GetController() const override;
int GetStreamId() const override;
void OnPlayStream() override;
void OnPauseStream() override;
@@ -55,10 +54,12 @@ class CONTENT_EXPORT AudioOutputDelegateImpl
private:
class ControllerEventHandler;
+ friend class AudioOutputDelegateTest;
void SendCreatedNotification();
void OnError();
void UpdatePlayingState(bool playing);
+ media::AudioOutputController* GetControllerForTesting() const;
// This is the event handler which |this| send notifications to.
EventHandler* subscriber_;

Powered by Google App Engine
This is Rietveld 408576698