Index: chrome/browser/speech/speech_recognition_request.h |
diff --git a/chrome/browser/speech/speech_recognition_request.h b/chrome/browser/speech/speech_recognition_request.h |
index c12fc4d31513f8a82d118464787d000363d76e86..89829d0f1bc38a17f2345808075c25f6b79616fa 100644 |
--- a/chrome/browser/speech/speech_recognition_request.h |
+++ b/chrome/browser/speech/speech_recognition_request.h |
@@ -45,11 +45,13 @@ class SpeechRecognitionRequest : public URLFetcher::Delegate { |
// Sends a new request with the given audio data, returns true if successful. |
// The same object can be used to send multiple requests but only after the |
// previous request has completed. |
- bool Send(const std::string& language, |
- const std::string& grammar, |
- const std::string& hardware_info, |
- const std::string& content_type, |
- const std::string& audio_data); |
+ void Start(const std::string& language, |
+ const std::string& grammar, |
+ const std::string& hardware_info, |
+ const std::string& content_type); |
+ |
+ void UploadAudioChunk(const std::string& audio_data); |
+ void FinishAudioUpload(); |
bool HasPendingRequest() { return url_fetcher_ != NULL; } |