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

Unified Diff: content/renderer/media/audio_device_factory.h

Issue 10834033: Move AudioDevice and AudioInputDevice to media. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/renderer/media/audio_device_factory.h
===================================================================
--- content/renderer/media/audio_device_factory.h (revision 148738)
+++ content/renderer/media/audio_device_factory.h (working copy)
@@ -9,11 +9,10 @@
#include "content/common/content_export.h"
namespace media {
+class AudioInputDevice;
class AudioRendererSink;
}
-class AudioInputDevice;
-
namespace content {
// A factory for creating AudioRendererSinks. There is a global factory
@@ -30,7 +29,7 @@
// TODO(henrika): Update AudioInputDevice to inherit from an interface
// similar to AudioRendererSink, but for input. Same for the callback
// interfaces.
- static AudioInputDevice* NewInputDevice();
+ static media::AudioInputDevice* NewInputDevice();
protected:
AudioDeviceFactory();
@@ -41,7 +40,7 @@
// If the return value of either of these function is NULL, we fall back
// on the default implementation.
virtual media::AudioRendererSink* CreateOutputDevice() = 0;
- virtual AudioInputDevice* CreateInputDevice() = 0;
+ virtual media::AudioInputDevice* CreateInputDevice() = 0;
private:
// The current globally registered factory. This is NULL when we should

Powered by Google App Engine
This is Rietveld 408576698