Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 9cbfdf61770df2a307ba4ac655e1ef83984e5a7a..6ff863291ae63668fc0fdec803eb13ca12bbe360 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -36,7 +36,7 @@ |
#include "chrome/browser/search_engines/template_url_service.h" |
#include "chrome/browser/search_engines/template_url_service_factory.h" |
#include "chrome/browser/signin/token_service.h" |
-#include "chrome/browser/speech/chrome_speech_input_preferences.h" |
+#include "chrome/browser/speech/chrome_speech_recognition_preferences.h" |
#include "chrome/browser/sync/profile_sync_service_mock.h" |
#include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
#include "chrome/common/chrome_constants.h" |
@@ -650,11 +650,13 @@ TestingProfile::GetGeolocationPermissionContext() { |
return geolocation_permission_context_.get(); |
} |
-content::SpeechInputPreferences* TestingProfile::GetSpeechInputPreferences() { |
+content::SpeechRecognitionPreferences* |
+ TestingProfile::GetSpeechRecognitionPreferences() { |
#if defined(ENABLE_INPUT_SPEECH) |
- if (!speech_input_preferences_.get()) |
- speech_input_preferences_ = new ChromeSpeechInputPreferences(GetPrefs()); |
- return speech_input_preferences_.get(); |
+ if (!speech_recognition_preferences_.get()) |
+ speech_recognition_preferences_ = |
+ new ChromeSpeechRecognitionPreferences(GetPrefs()); |
+ return speech_recognition_preferences_.get(); |
#else |
return NULL; |
#endif |