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

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

Issue 12611030: Remove unused parameter to OnError() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits + rebase Created 7 years, 9 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_recognizer.h
diff --git a/content/browser/speech/speech_recognizer.h b/content/browser/speech/speech_recognizer.h
index 3d4e85c87db5d7a85915835bd2cac2e88af171a6..12da90564e898b00ea8c144c56b3d9d78cae38bf 100644
--- a/content/browser/speech/speech_recognizer.h
+++ b/content/browser/speech/speech_recognizer.h
@@ -81,7 +81,6 @@ class CONTENT_EXPORT SpeechRecognizer
~FSMEventArgs();
FSMEvent event;
- int audio_error_code;
scoped_refptr<AudioChunk> audio_data;
SpeechRecognitionResults engine_results;
SpeechRecognitionError engine_error;
@@ -129,8 +128,7 @@ class CONTENT_EXPORT SpeechRecognizer
// AudioInputController::EventHandler methods.
virtual void OnCreated(media::AudioInputController* controller) OVERRIDE {}
virtual void OnRecording(media::AudioInputController* controller) OVERRIDE {}
- virtual void OnError(media::AudioInputController* controller,
- int error_code) OVERRIDE;
+ virtual void OnError(media::AudioInputController* controller) OVERRIDE;
virtual void OnData(media::AudioInputController* controller,
const uint8* data, uint32 size) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698