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

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

Issue 317253004: test_runner: Migrate MockWebAudioDevice to our Chromium C++ style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 namespace content {
8
9 MockWebAudioDevice::MockWebAudioDevice(double sampleRate)
10 : m_sampleRate(sampleRate)
11 {
12 }
13
14 MockWebAudioDevice::~MockWebAudioDevice()
15 {
16 }
17
18 void MockWebAudioDevice::start()
19 {
20 }
21
22 void MockWebAudioDevice::stop()
23 {
24 }
25
26 double MockWebAudioDevice::sampleRate()
27 {
28 return m_sampleRate;
29 }
30
31 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/MockWebAudioDevice.h ('k') | content/shell/renderer/test_runner/WebTestInterfaces.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698