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

Unified Diff: media/base/audio_bus.h

Issue 2695713007: Delete unused AudioBusRefCounted structure. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | media/base/audio_bus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_bus.h
diff --git a/media/base/audio_bus.h b/media/base/audio_bus.h
index 6d381ccac3daa3c9325fb9d4af99259e4cef3825..0632ae1909f7f9f1be55e6369cdcc8b07f12eb0e 100644
--- a/media/base/audio_bus.h
+++ b/media/base/audio_bus.h
@@ -12,7 +12,6 @@
#include "base/macros.h"
#include "base/memory/aligned_memory.h"
-#include "base/memory/ref_counted.h"
#include "media/base/media_export.h"
namespace media {
@@ -306,24 +305,6 @@ void AudioBus::CopyConvertFromAudioBusToInterleavedTarget(
}
}
-// RefCounted version of AudioBus. This is not meant for general use. Only use
-// this when your lifetime requirements make it impossible to use an
-// AudioBus scoped_ptr.
-class MEDIA_EXPORT AudioBusRefCounted
- : public media::AudioBus,
- public base::RefCountedThreadSafe<AudioBusRefCounted> {
- public:
- static scoped_refptr<AudioBusRefCounted> Create(int channels, int frames);
-
- private:
- friend class base::RefCountedThreadSafe<AudioBusRefCounted>;
-
- AudioBusRefCounted(int channels, int frames);
- ~AudioBusRefCounted() override;
-
- DISALLOW_COPY_AND_ASSIGN(AudioBusRefCounted);
-};
-
} // namespace media
#endif // MEDIA_BASE_AUDIO_BUS_H_
« no previous file with comments | « no previous file | media/base/audio_bus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698