Index: media/audio/audio_manager_base.h |
diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h |
index 4bc4d38dcb7f41bbd156cf0e9cc3e48daf45fc68..8b34d9fcf94bd9e5b8a08b6b853c2b25cee37c10 100644 |
--- a/media/audio/audio_manager_base.h |
+++ b/media/audio/audio_manager_base.h |
@@ -8,7 +8,6 @@ |
#include <string> |
#include <utility> |
-#include "base/atomic_ref_count.h" |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
@@ -61,15 +60,10 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager { |
const AudioParameters& params, |
const std::string& input_device_id) OVERRIDE; |
- virtual bool IsRecordingInProcess() OVERRIDE; |
- |
// Called internally by the audio stream when it has been closed. |
virtual void ReleaseOutputStream(AudioOutputStream* stream); |
virtual void ReleaseInputStream(AudioInputStream* stream); |
- void IncreaseActiveInputStreamCount(); |
- void DecreaseActiveInputStreamCount(); |
- |
// Creates the output stream for the |AUDIO_PCM_LINEAR| format. The legacy |
// name is also from |AUDIO_PCM_LINEAR|. |
virtual AudioOutputStream* MakeLinearOutputStream( |
@@ -137,10 +131,6 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager { |
// Called by Shutdown(). |
void ShutdownOnAudioThread(); |
- // Counts the number of active input streams to find out if something else |
- // is currently recording in Chrome. |
- base::AtomicRefCount num_active_input_streams_; |
- |
// Max number of open output streams, modified by |
// SetMaxOutputStreamsAllowed(). |
int max_num_output_streams_; |