Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index a9c255b818839023ea63c7eefa127525cf2e8cb5..76f76c47242648077bae85d192171b65b64d141e 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -66,6 +66,7 @@ |
#include "chrome/browser/search/search.h" |
#include "chrome/browser/search_engines/search_provider_install_state_message_filter.h" |
#include "chrome/browser/speech/chrome_speech_recognition_manager_delegate.h" |
+#include "chrome/browser/speech/tts_message_filter.h" |
#include "chrome/browser/spellchecker/spellcheck_message_filter.h" |
#include "chrome/browser/ssl/ssl_add_certificate.h" |
#include "chrome/browser/ssl/ssl_blocking_page.h" |
@@ -727,6 +728,9 @@ void ChromeContentBrowserClient::RenderProcessHostCreated( |
host->GetChannel()->AddFilter( |
new prerender::PrerenderMessageFilter(id, profile)); |
host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id)); |
+#if !defined(OS_ANDROID) |
+ host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile)); |
+#endif |
host->Send(new ChromeViewMsg_SetIsIncognitoProcess( |
profile->IsOffTheRecord())); |
@@ -1784,6 +1788,7 @@ void ChromeContentBrowserClient::ResourceDispatcherHostCreated() { |
return g_browser_process->ResourceDispatcherHostCreated(); |
} |
+// TODO(tommi): Rename from Get to Create. |
content::SpeechRecognitionManagerDelegate* |
ChromeContentBrowserClient::GetSpeechRecognitionManagerDelegate() { |
#if defined(ENABLE_INPUT_SPEECH) |