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

Unified Diff: content/renderer/speech_recognition_dispatcher.cc

Issue 10407120: Moving tray icon and notification balloon for background speech recognition sessions to ChromeSpeec… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tray icon tooltip message. Created 8 years, 6 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/renderer/speech_recognition_dispatcher.cc
diff --git a/content/renderer/speech_recognition_dispatcher.cc b/content/renderer/speech_recognition_dispatcher.cc
index 90123dd62b03d08743f10f16f9eb8f13b0d3ace2..210a66f86502e398ce49fa13458851445119f78f 100644
--- a/content/renderer/speech_recognition_dispatcher.cc
+++ b/content/renderer/speech_recognition_dispatcher.cc
@@ -69,7 +69,7 @@ void SpeechRecognitionDispatcher::start(
}
msg_params.language = UTF16ToUTF8(params.language());
msg_params.is_one_shot = !params.continuous();
- msg_params.origin_url = ""; // TODO(primiano) we need an origin from WebKit.
+ msg_params.origin_url = params.origin().toString().utf8();
msg_params.render_view_id = routing_id();
msg_params.request_id = GetIDForHandle(handle);
Send(new SpeechRecognitionHostMsg_StartRequest(msg_params));

Powered by Google App Engine
This is Rietveld 408576698