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

Unified Diff: content/browser/speech/speech_recognizer_impl_unittest.cc

Issue 9805001: Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « content/browser/speech/speech_recognizer_impl.cc ('k') | content/common/media/audio_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognizer_impl_unittest.cc
diff --git a/content/browser/speech/speech_recognizer_impl_unittest.cc b/content/browser/speech/speech_recognizer_impl_unittest.cc
index d553064832ff6684b99017084b07e5f557105177..01b7e4c8c69e9b68712b460aba2e385307ae637f 100644
--- a/content/browser/speech/speech_recognizer_impl_unittest.cc
+++ b/content/browser/speech/speech_recognizer_impl_unittest.cc
@@ -20,12 +20,16 @@
using content::BrowserThread;
using content::BrowserThreadImpl;
using media::AudioInputController;
+using media::AudioInputStream;
+using media::AudioManager;
+using media::AudioOutputStream;
+using media::AudioParameters;
using media::TestAudioInputController;
using media::TestAudioInputControllerFactory;
namespace {
-class MockAudioManager : public AudioManagerBase {
+class MockAudioManager : public media::AudioManagerBase {
public:
MockAudioManager() {
audio_thread_.reset(new base::Thread("MockAudioThread"));
@@ -40,7 +44,7 @@ class MockAudioManager : public AudioManagerBase {
media::AudioDeviceNames* device_names) OVERRIDE {}
virtual AudioOutputStream* MakeAudioOutputStream(
const AudioParameters& params) OVERRIDE {
- return FakeAudioOutputStream::MakeFakeStream(this, params);
+ return media::FakeAudioOutputStream::MakeFakeStream(this, params);
}
virtual AudioOutputStream* MakeAudioOutputStreamProxy(
const AudioParameters& params) OVERRIDE {
@@ -49,7 +53,7 @@ class MockAudioManager : public AudioManagerBase {
}
virtual AudioInputStream* MakeAudioInputStream(
const AudioParameters& params, const std::string& device_id) OVERRIDE {
- return FakeAudioInputStream::MakeFakeStream(this, params);
+ return media::FakeAudioInputStream::MakeFakeStream(this, params);
}
virtual AudioOutputStream* MakeLinearOutputStream(
const AudioParameters& params) OVERRIDE {
« no previous file with comments | « content/browser/speech/speech_recognizer_impl.cc ('k') | content/common/media/audio_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698