1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
6 #define WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
8 #include "third_party/WebKit/public/platform/WebAudioDevice.h"
10 class WebAudioDeviceMock
: public WebKit::WebAudioDevice
{
12 WebAudioDeviceMock(double sampleRate
);
13 virtual ~WebAudioDeviceMock() { }
15 virtual void start() { }
16 virtual void stop() { }
17 virtual double sampleRate();
23 #endif // WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_