| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index d75727a03074ecc85ff78c36901f98ba4f9b59f8..d36da6746c029d710714a7fe1811bfd1a91b6e81 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -50,6 +50,7 @@
|
| #include "content/browser/browser_thread.h"
|
| #include "content/browser/in_process_webkit/webkit_context.h"
|
| #include "content/browser/mock_resource_context.h"
|
| +#include "content/browser/speech/speech_input_preferences.h"
|
| #include "content/common/notification_service.h"
|
| #include "net/base/cookie_monster.h"
|
| #include "net/url_request/url_request_context.h"
|
| @@ -640,6 +641,12 @@ TestingProfile::GetGeolocationPermissionContext() {
|
| return geolocation_permission_context_.get();
|
| }
|
|
|
| +SpeechInputPreferences* TestingProfile::GetSpeechInputPreferences() {
|
| + if (!speech_input_preferences_.get())
|
| + speech_input_preferences_ = new SpeechInputPreferences(true);
|
| + return speech_input_preferences_.get();
|
| +}
|
| +
|
| HostZoomMap* TestingProfile::GetHostZoomMap() {
|
| return NULL;
|
| }
|
|
|