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

Unified 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 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/MockWebAudioDevice.cpp
diff --git a/content/shell/renderer/test_runner/MockWebAudioDevice.cpp b/content/shell/renderer/test_runner/MockWebAudioDevice.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..b3bc68876207074ef7504002fa1a73bc4bdac7c6
--- /dev/null
+++ b/content/shell/renderer/test_runner/MockWebAudioDevice.cpp
@@ -0,0 +1,33 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/shell/renderer/test_runner/MockWebAudioDevice.h"
+
+using namespace blink;
+
+namespace WebTestRunner {
+
+MockWebAudioDevice::MockWebAudioDevice(double sampleRate)
+ : m_sampleRate(sampleRate)
+{
+}
+
+MockWebAudioDevice::~MockWebAudioDevice()
+{
+}
+
+void MockWebAudioDevice::start()
+{
+}
+
+void MockWebAudioDevice::stop()
+{
+}
+
+double MockWebAudioDevice::sampleRate()
+{
+ return m_sampleRate;
+}
+
+} // namespace WebTestRunner
« 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