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

Unified Diff: content/renderer/media/audio_device_unittest.cc

Issue 10790121: First step towards moving AudioDevice from content/ to media/audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecessary #include Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/audio_device_unittest.cc
diff --git a/content/renderer/media/audio_device_unittest.cc b/content/renderer/media/audio_device_unittest.cc
index 4612ec739a4078d5a82d8daf09c47373e680ad67..48dce67251d3e40ca761f7f7dd45e7fe9f5319c3 100644
--- a/content/renderer/media/audio_device_unittest.cc
+++ b/content/renderer/media/audio_device_unittest.cc
@@ -30,16 +30,6 @@ using testing::WithArgs;
namespace {
-// Derived from AudioDevice to gain access to the protected constructor.
-class TestAudioDevice : public AudioDevice {
- public:
- explicit TestAudioDevice(const scoped_refptr<base::MessageLoopProxy>& io_loop)
- : AudioDevice(io_loop) {}
-
- protected:
- virtual ~TestAudioDevice() {}
-};
-
class MockRenderCallback : public media::AudioRendererSink::RenderCallback {
public:
MockRenderCallback() {}
@@ -145,7 +135,8 @@ class AudioDeviceTest : public testing::Test {
}
AudioDevice* CreateAudioDevice() {
- return new TestAudioDevice(io_loop_.message_loop_proxy());
+ return new AudioDevice(audio_message_filter_,
scherkus (not reviewing) 2012/07/23 22:57:51 fix indent (drop a_m_f_ to next line?)
tommi (sloooow) - chröme 2012/07/24 09:49:44 Done.
+ io_loop_.message_loop_proxy());
}
void set_stream_id(int stream_id) { stream_id_ = stream_id; }

Powered by Google App Engine
This is Rietveld 408576698