summaryrefslogtreecommitdiffstats
path: root/content/browser/speech/speech_recognizer_impl_unittest.cc
diff options
context:
space:
mode:
authorvrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 01:49:09 +0000
committervrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 01:49:09 +0000
commit67dfea903d4daa1287e372f36f70539f39b0350e (patch)
tree0d497af051864ed94fbf8ed432270b9708900aab /content/browser/speech/speech_recognizer_impl_unittest.cc
parent20f2757280ade9b07b17e7dc1fe566456c595009 (diff)
downloadchromium_src-67dfea903d4daa1287e372f36f70539f39b0350e.zip
chromium_src-67dfea903d4daa1287e372f36f70539f39b0350e.tar.gz
chromium_src-67dfea903d4daa1287e372f36f70539f39b0350e.tar.bz2
Move media/audio files into media namespace (relanding)
BUG=115187 TEST=compiles and runs without breaking audio tag; media_unittests, content_unittests TBR=scherkus,jam Review URL: https://chromiumcodereview.appspot.com/9968054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/speech_recognizer_impl_unittest.cc')
-rw-r--r--content/browser/speech/speech_recognizer_impl_unittest.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/content/browser/speech/speech_recognizer_impl_unittest.cc b/content/browser/speech/speech_recognizer_impl_unittest.cc
index d553064..01b7e4c 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 {