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

Unified Diff: content/public/browser/speech_recognition_event_listener.h

Issue 9663066: Refactoring of chrome speech recognition architecture (CL1.3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compilation issues on windows. Created 8 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/speech_recognition_manager_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/speech_recognition_event_listener.h
diff --git a/content/public/browser/speech_recognition_event_listener.h b/content/public/browser/speech_recognition_event_listener.h
index 50fdc808fdd78be3a8cce3e618262dc2e841abcc..7ce69959edea9da367a52e2ac8445f75820d09df 100644
--- a/content/public/browser/speech_recognition_event_listener.h
+++ b/content/public/browser/speech_recognition_event_listener.h
@@ -7,10 +7,12 @@
#include "base/basictypes.h"
#include "content/common/content_export.h"
-#include "content/public/common/speech_recognition_result.h"
namespace content {
+struct SpeechRecognitionError;
+struct SpeechRecognitionResult;
+
// The interface to be implemented by consumers interested in receiving
// speech recognition events.
class CONTENT_EXPORT SpeechRecognitionEventListener {
@@ -46,7 +48,7 @@ class CONTENT_EXPORT SpeechRecognitionEventListener {
// The recognition has already been cancelled when this call is made and
// no more events will be raised.
virtual void OnRecognitionError(int caller_id,
- const SpeechRecognitionErrorCode& error) = 0;
+ const SpeechRecognitionError& error) = 0;
// Informs of a change in the captured audio level, useful if displaying
// a microphone volume indicator while recording.
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/speech_recognition_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698