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

Unified Diff: content/browser/speech/speech_recognition_request.h

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed nits according to reviewers and renamed x-webkit-speech related stuff to InputTagSpeech*. Created 8 years, 10 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_request.h
diff --git a/content/browser/speech/speech_recognition_request.h b/content/browser/speech/speech_recognition_request.h
index 65a9733c985be66a6029580d51a2758847158b14..f8ba229d7966b0e341bb6075e2b2885c65eca37f 100644
--- a/content/browser/speech/speech_recognition_request.h
+++ b/content/browser/speech/speech_recognition_request.h
@@ -18,14 +18,14 @@
class URLFetcher;
namespace content {
-struct SpeechInputResult;
+struct SpeechRecognitionResult;
}
namespace net {
class URLRequestContextGetter;
}
-namespace speech_input {
+namespace speech {
// Provides a simple interface for sending recorded speech data to the server
// and get back recognition results.
@@ -38,7 +38,7 @@ class SpeechRecognitionRequest : public content::URLFetcherDelegate {
class CONTENT_EXPORT Delegate {
public:
virtual void SetRecognitionResult(
- const content::SpeechInputResult& result) = 0;
+ const content::SpeechRecognitionResult& result) = 0;
protected:
virtual ~Delegate() {}
@@ -83,6 +83,6 @@ class SpeechRecognitionRequest : public content::URLFetcherDelegate {
// the workaround was not needed for my machine).
typedef SpeechRecognitionRequest::Delegate SpeechRecognitionRequestDelegate;
-} // namespace speech_input
+} // namespace speech
#endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_

Powered by Google App Engine
This is Rietveld 408576698