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

Unified Diff: content/test/webrtc_audio_device_test.h

Issue 10537121: Adds AudioDevice factory for all audio clients in Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed DVLOGs Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/test/webrtc_audio_device_test.h
diff --git a/content/test/webrtc_audio_device_test.h b/content/test/webrtc_audio_device_test.h
index 6045d79ab10dd4e91949e55113926c89da83d6c9..9c69189b37a37ecdc8b3d09de58bfb6c1cd1b02e 100644
--- a/content/test/webrtc_audio_device_test.h
+++ b/content/test/webrtc_audio_device_test.h
@@ -19,6 +19,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/common_types.h"
+class AudioDeviceFactoryInterface;
class AudioInputRendererHost;
class AudioRendererHost;
class RenderThreadImpl;
@@ -160,6 +161,11 @@ class WebRTCAudioDeviceTest
return *media_observer_.get();
}
+ // Convenience getter for the audio device factory.
+ AudioDeviceFactoryInterface* audio_device_factory() const {
+ return audio_device_factory_.get();
+ }
+
std::string GetTestDataPath(const FilePath::StringType& file_name);
scoped_ptr<ReplaceContentClientRenderer> saved_content_renderer_;
@@ -173,6 +179,7 @@ class WebRTCAudioDeviceTest
scoped_ptr<net::URLRequestContext> test_request_context_;
scoped_ptr<content::ResourceContext> resource_context_;
scoped_ptr<IPC::Channel> channel_;
+ scoped_ptr<AudioDeviceFactoryInterface> audio_device_factory_;
scoped_refptr<AudioRendererHost> audio_render_host_;
scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_;

Powered by Google App Engine
This is Rietveld 408576698