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

Unified Diff: media/audio/audio_output_dispatcher.h

Issue 10067035: RefCounted types should not have public destructors, media/ and gpu/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 7 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
« no previous file with comments | « media/audio/audio_input_controller.h ('k') | media/audio/null_audio_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_output_dispatcher.h
diff --git a/media/audio/audio_output_dispatcher.h b/media/audio/audio_output_dispatcher.h
index 5c96873a62d0953b36f6ce53fd8ec06ab7a2ce98..6f8d86ee9ec9c74ae60f43a05b1908723f762b13 100644
--- a/media/audio/audio_output_dispatcher.h
+++ b/media/audio/audio_output_dispatcher.h
@@ -52,7 +52,6 @@ class MEDIA_EXPORT AudioOutputDispatcher
// Ownership of the |stream_proxy| is passed to the dispatcher.
virtual void StopStream(AudioOutputProxy* stream_proxy) = 0;
-
// Called by AudioOutputProxy when the volume is set.
virtual void StreamVolumeSet(AudioOutputProxy* stream_proxy,
double volume) = 0;
@@ -65,6 +64,8 @@ class MEDIA_EXPORT AudioOutputDispatcher
protected:
friend class base::RefCountedThreadSafe<AudioOutputDispatcher>;
+ friend class AudioOutputProxyTest;
+
virtual ~AudioOutputDispatcher();
// A no-reference-held pointer (we don't want circular references) back to the
« no previous file with comments | « media/audio/audio_input_controller.h ('k') | media/audio/null_audio_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698