| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 9e90e32d516cf7eefcea1107a4d7f1ad8ca7ef4a..836c907f3c20dfd4197f0f431c86aebba85a837b 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -37,6 +37,7 @@
|
| #include "chrome/browser/search_engines/template_url_fetcher.h"
|
| #include "chrome/browser/search_engines/template_url_service.h"
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| +#include "chrome/browser/speech/chrome_speech_input_preferences.h"
|
| #include "chrome/browser/sync/profile_sync_service_mock.h"
|
| #include "chrome/browser/ui/find_bar/find_bar_state.h"
|
| #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| @@ -636,6 +637,12 @@ TestingProfile::GetGeolocationPermissionContext() {
|
| return geolocation_permission_context_.get();
|
| }
|
|
|
| +SpeechInputPreferences* TestingProfile::GetSpeechInputPreferences() {
|
| + if (!speech_input_preferences_.get())
|
| + speech_input_preferences_ = new ChromeSpeechInputPreferences(GetPrefs());
|
| + return speech_input_preferences_.get();
|
| +}
|
| +
|
| HostZoomMap* TestingProfile::GetHostZoomMap() {
|
| return NULL;
|
| }
|
|
|