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

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: Fixing compile errors Created 5 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: Source/modules/speech/SpeechRecognitionController.h
diff --git a/Source/modules/speech/SpeechRecognitionController.h b/Source/modules/speech/SpeechRecognitionController.h
index 52e8a19f6a9d5a31ed37e82c9bc7cedfa5667dd4..7aceec458c1ec455136f270d07321b4606c7320c 100644
--- a/Source/modules/speech/SpeechRecognitionController.h
+++ b/Source/modules/speech/SpeechRecognitionController.h
@@ -28,6 +28,7 @@
#include "core/page/Page.h"
#include "modules/speech/SpeechRecognitionClient.h"
+#include "platform/weborigin/KURL.h"
jochen (gone - plz use gerrit) 2015/05/05 13:57:53 should be enough to forward declare KURL, no?
kirtia 2015/05/05 23:12:29 Done. Makes sense!
#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -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);
}

Powered by Google App Engine
This is Rietveld 408576698