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

Unified Diff: Source/modules/speech/SpeechRecognitionController.h

Issue 1117383002: Changing serviceuri param to be url from string in Blink and tagging requests to speech recognizer Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing the exception on invalid urls, adding chromium to client param of serviceURI, and changing… Created 5 years, 7 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
« no previous file with comments | « Source/modules/speech/SpeechRecognitionClient.h ('k') | Source/web/SpeechRecognitionClientProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechRecognitionController.h
diff --git a/Source/modules/speech/SpeechRecognitionController.h b/Source/modules/speech/SpeechRecognitionController.h
index 52e8a19f6a9d5a31ed37e82c9bc7cedfa5667dd4..9967c283cf00ec3e734f64cee9be12b49064da0f 100644
--- a/Source/modules/speech/SpeechRecognitionController.h
+++ b/Source/modules/speech/SpeechRecognitionController.h
@@ -32,6 +32,7 @@
namespace blink {
+class KURL;
class MediaStreamTrack;
class SpeechRecognitionController final : public NoBaseWillBeGarbageCollectedFinalized<SpeechRecognitionController>, public WillBeHeapSupplement<Page> {
@@ -39,7 +40,7 @@ class SpeechRecognitionController final : public NoBaseWillBeGarbageCollectedFin
public:
virtual ~SpeechRecognitionController();
- void start(SpeechRecognition* recognition, const SpeechGrammarList* grammars, const String& lang, const String& serviceURI, bool continuous, bool interimResults, unsigned long maxAlternatives, MediaStreamTrack* audioTrack)
+ void start(SpeechRecognition* recognition, const SpeechGrammarList* grammars, const String& lang, const KURL& serviceURI, bool continuous, bool interimResults, unsigned long maxAlternatives, MediaStreamTrack* audioTrack)
{
m_client->start(recognition, grammars, lang, serviceURI, continuous, interimResults, maxAlternatives, audioTrack);
}
« no previous file with comments | « Source/modules/speech/SpeechRecognitionClient.h ('k') | Source/web/SpeechRecognitionClientProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698