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

Side by Side Diff: content/shell/renderer/test_runner/MockWebAudioDevice.cpp

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 6 years, 12 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 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.
4
5 #include "content/shell/renderer/test_runner/MockWebAudioDevice.h"
6
7 using namespace blink;
8
9 namespace WebTestRunner {
10
11 MockWebAudioDevice::MockWebAudioDevice(double sampleRate)
12 : m_sampleRate(sampleRate)
13 {
14 }
15
16 MockWebAudioDevice::~MockWebAudioDevice()
17 {
18 }
19
20 void MockWebAudioDevice::start()
21 {
22 }
23
24 void MockWebAudioDevice::stop()
25 {
26 }
27
28 double MockWebAudioDevice::sampleRate()
29 {
30 return m_sampleRate;
31 }
32
33 } // namespace WebTestRunner
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/MockWebAudioDevice.h ('k') | content/shell/renderer/test_runner/MockWebMIDIAccessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698