Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / audio / AudioProcessor.h
index ccd8f72..aded735 100644 (file)
@@ -32,8 +32,9 @@
 #define AudioProcessor_h
 
 #include "platform/PlatformExport.h"
+#include "platform/heap/Handle.h"
 
-namespace WebCore {
+namespace blink {
 
 class AudioBus;
 
@@ -41,7 +42,7 @@ class AudioBus;
 // where the number of input channels equals the number of output channels.  It can be used as one part of a complex DSP algorithm,
 // or as the processor for a basic (one input - one output) AudioNode.
 
-class PLATFORM_EXPORT AudioProcessor {
+class PLATFORM_EXPORT AudioProcessor : public NoBaseWillBeGarbageCollectedFinalized<AudioProcessor> {
 public:
     AudioProcessor(float sampleRate, unsigned numberOfChannels)
         : m_initialized(false)
@@ -51,6 +52,7 @@ public:
     }
 
     virtual ~AudioProcessor();
+    virtual void trace(Visitor*);
 
     // Full initialization can be done here instead of in the constructor.
     virtual void initialize() = 0;
@@ -78,6 +80,6 @@ protected:
     float m_sampleRate;
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // AudioProcessor_h