Convert raw pointers to scoped_ptr in net module.
[chromium-blink-merge.git] / content / shell / renderer / test_runner / mock_web_audio_device.cc
blobe1b30f44e84f63a46127e50d60863a5a0c0272b5
1 // Copyright 2014 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 #include "content/shell/renderer/test_runner/mock_web_audio_device.h"
7 namespace content {
9 MockWebAudioDevice::MockWebAudioDevice(double sample_rate)
10 : sample_rate_(sample_rate) {}
12 MockWebAudioDevice::~MockWebAudioDevice() {}
14 void MockWebAudioDevice::start() {}
16 void MockWebAudioDevice::stop() {}
18 double MockWebAudioDevice::sampleRate() {
19 return sample_rate_;
22 } // namespace content