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

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

Issue 6615020: Stream speech audio to server as it gets recorded, instead of waiting until end of recording. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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/audio_encoder.h
diff --git a/content/browser/speech/audio_encoder.h b/content/browser/speech/audio_encoder.h
index c70bfd08b6c8901a7baafd39e9b5fab72b97d06c..7b0a246c325e119a5be8822b2baacc196c444898 100644
--- a/content/browser/speech/audio_encoder.h
+++ b/content/browser/speech/audio_encoder.h
@@ -37,7 +37,7 @@ class AudioEncoder {
// Copies the encoded audio to the given string. Returns true if the output
// is not empty.
- bool GetEncodedData(std::string* encoded_data);
+ bool GetEncodedDataAndClear(std::string* encoded_data);
const std::string& mime_type() { return mime_type_; }

Powered by Google App Engine
This is Rietveld 408576698