Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1399)

Unified Diff: content/browser/speech/speech_recognition_dispatcher_host.cc

Issue 260903010: Start removing support for the experimental x-webkit-speech API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't touch histograms.xml Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/speech/speech_recognition_dispatcher_host.cc
diff --git a/content/browser/speech/speech_recognition_dispatcher_host.cc b/content/browser/speech/speech_recognition_dispatcher_host.cc
index 57b3bc6c10308f6d2ab23e288ed5f6bf8dd4b510..1c97a4f4424011c2ed99754de44ab341dc64483e 100644
--- a/content/browser/speech/speech_recognition_dispatcher_host.cc
+++ b/content/browser/speech/speech_recognition_dispatcher_host.cc
@@ -105,8 +105,7 @@ void SpeechRecognitionDispatcherHost::OnStartRequest(
}
// TODO(lazyboy): Check if filter_profanities should use |render_process_id|
- // instead of |render_process_id_|. We are also using the same value in
- // input_tag_dispatcher_host.cc
+ // instead of |render_process_id_|.
bool filter_profanities =
SpeechRecognitionManagerImpl::GetInstance() &&
SpeechRecognitionManagerImpl::GetInstance()->delegate() &&
@@ -138,7 +137,6 @@ void SpeechRecognitionDispatcherHost::OnStartRequestOnIO(
if (embedder_render_process_id)
context.guest_render_view_id = params.render_view_id;
context.request_id = params.request_id;
- context.requested_by_page_element = false;
SpeechRecognitionSessionConfig config;
config.is_legacy_api = false;
« no previous file with comments | « content/browser/speech/input_tag_speech_dispatcher_host.cc ('k') | content/browser/speech/speech_recognition_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698