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

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

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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 #ifndef MockWebAudioDevice_h
6 #define MockWebAudioDevice_h
7
8 #include "content/shell/renderer/test_runner/TestCommon.h"
9 #include "third_party/WebKit/public/platform/WebAudioDevice.h"
10 #include "third_party/WebKit/public/platform/WebNonCopyable.h"
11
12 namespace WebTestRunner {
13
14 class MockWebAudioDevice : public blink::WebAudioDevice, public blink::WebNonCop yable {
15 public:
16 explicit MockWebAudioDevice(double sampleRate);
17 virtual ~MockWebAudioDevice();
18
19 virtual void start();
20 virtual void stop();
21 virtual double sampleRate();
22
23 private:
24 double m_sampleRate;
25 };
26
27 } // namespace WebTestRunner
28
29 #endif // MockWebAudioDevice_h
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/MockSpellCheck.cpp ('k') | content/shell/renderer/test_runner/MockWebAudioDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698