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_; |