Index: chrome/browser/speech/chrome_speech_recognition_preferences.cc |
diff --git a/chrome/browser/speech/chrome_speech_recognition_preferences.cc b/chrome/browser/speech/chrome_speech_recognition_preferences.cc |
index 388cb2df0cbfdf0753f59558ad2d63767ae3a84d..af94c8870195268fc01fbb550642a7d90684f86b 100644 |
--- a/chrome/browser/speech/chrome_speech_recognition_preferences.cc |
+++ b/chrome/browser/speech/chrome_speech_recognition_preferences.cc |
@@ -68,6 +68,20 @@ void ChromeSpeechRecognitionPreferences::Factory::RegisterUserPrefs( |
PrefService::UNSYNCABLE_PREF); |
} |
+bool |
+ChromeSpeechRecognitionPreferences::Factory::ServiceRedirectedInIncognito() { |
+ return false; |
+} |
+ |
+bool ChromeSpeechRecognitionPreferences::Factory::ServiceIsNULLWhileTesting() { |
+ return true; |
+} |
+ |
+bool |
+ChromeSpeechRecognitionPreferences::Factory::ServiceIsCreatedWithProfile() { |
+ return false; |
+} |
+ |
ChromeSpeechRecognitionPreferences::Service::Service( |
Profile* profile) |
: preferences_(new ChromeSpeechRecognitionPreferences(profile)) { |