diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-14 01:59:16 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-14 01:59:16 +0000 |
commit | 023534e890996cf5d4d297da9c7e835cf6a250bc (patch) | |
tree | 9368bc1b7e69033b212c370f13e26db521ea533d /media | |
parent | 96d500559b422bd0446cb4e4cfff294f7cdbe1bc (diff) | |
download | chromium_src-023534e890996cf5d4d297da9c7e835cf6a250bc.zip chromium_src-023534e890996cf5d4d297da9c7e835cf6a250bc.tar.gz chromium_src-023534e890996cf5d4d297da9c7e835cf6a250bc.tar.bz2 |
Remove NullAudioManager.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6473021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/audio/audio_manager.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/media/audio/audio_manager.cc b/media/audio/audio_manager.cc index a8d14fd..5d1b195 100644 --- a/media/audio/audio_manager.cc +++ b/media/audio/audio_manager.cc @@ -5,7 +5,6 @@ #include "media/audio/audio_manager.h" #include "base/at_exit.h" -#include "base/compiler_specific.h" #include "base/logging.h" namespace { @@ -13,32 +12,6 @@ namespace { bool g_destroy_called = false; AudioManager* g_audio_manager = NULL; -// NullAudioManager is the audio manager used on the systems that have no -// audio support. -class NullAudioManager : public AudioManager { - public: - NullAudioManager() { } - - // Implementation of AudioManager. - virtual bool HasAudioOutputDevices() OVERRIDE { return false; } - virtual bool HasAudioInputDevices() OVERRIDE { return false; } - virtual AudioOutputStream* MakeAudioOutputStream( - AudioParameters params) OVERRIDE { - NOTIMPLEMENTED(); - return NULL; - } - virtual AudioInputStream* MakeAudioInputStream( - AudioParameters params) OVERRIDE { - NOTIMPLEMENTED(); - return NULL; - } - virtual void MuteAll() OVERRIDE { NOTIMPLEMENTED(); } - virtual void UnMuteAll() OVERRIDE { NOTIMPLEMENTED(); } - - private: - DISALLOW_COPY_AND_ASSIGN(NullAudioManager); -}; - } // namespace // static |