summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/testing_profile.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-09 21:10:29 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-09 21:10:29 +0000
commit9232738f3f237d64e15fe17f9830b516652f5c86 (patch)
treee8e64d72bdab3ff5a33c57c674f72105fcddf771 /chrome/test/base/testing_profile.cc
parenta081aebba3483e4605cff0e81b917b69b0f49fe3 (diff)
downloadchromium_src-9232738f3f237d64e15fe17f9830b516652f5c86.zip
chromium_src-9232738f3f237d64e15fe17f9830b516652f5c86.tar.gz
chromium_src-9232738f3f237d64e15fe17f9830b516652f5c86.tar.bz2
Get rid of the SpeechRecognitionPreferences interface. It only had one method, and we can roll that into SpeechRecognitionDelegate instead to simplify things. This also allows us to get rid of ChromeSpeechRecognitionPreferences.
R=tommi@chromium.org Review URL: https://codereview.chromium.org/18487007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/base/testing_profile.cc')
-rw-r--r--chrome/test/base/testing_profile.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 145804e..d521860 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -47,7 +47,6 @@
#include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h"
#include "chrome/browser/profiles/storage_partition_descriptor.h"
#include "chrome/browser/search_engines/template_url_fetcher_factory.h"
-#include "chrome/browser/speech/chrome_speech_recognition_preferences.h"
#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/browser/webdata/web_data_service_factory.h"
#include "chrome/common/chrome_constants.h"
@@ -691,15 +690,6 @@ TestingProfile::GetGeolocationPermissionContext() {
return ChromeGeolocationPermissionContextFactory::GetForProfile(this);
}
-content::SpeechRecognitionPreferences*
- TestingProfile::GetSpeechRecognitionPreferences() {
-#if defined(ENABLE_INPUT_SPEECH)
- return ChromeSpeechRecognitionPreferences::GetForProfile(this).get();
-#else
- return NULL;
-#endif
-}
-
std::wstring TestingProfile::GetName() {
return std::wstring();
}