Index: content/common/speech_input_messages.h |
diff --git a/content/common/speech_input_messages.h b/content/common/speech_input_messages.h |
index 2e2e27e65b26d65454eb3f4a9c025cb32ca8b2ea..b854fabb2d13a86a6729885468c59a5bc1497f3f 100644 |
--- a/content/common/speech_input_messages.h |
+++ b/content/common/speech_input_messages.h |
@@ -34,6 +34,13 @@ IPC_STRUCT_TRAITS_BEGIN(speech_input::SpeechInputResultItem) |
IPC_STRUCT_TRAITS_MEMBER(confidence) |
IPC_STRUCT_TRAITS_END() |
+IPC_ENUM_TRAITS(speech_input::SpeechInputResultStatus) |
+ |
+IPC_STRUCT_TRAITS_BEGIN(speech_input::SpeechInputResult) |
+ IPC_STRUCT_TRAITS_MEMBER(status) |
+ IPC_STRUCT_TRAITS_MEMBER(hypotheses) |
+IPC_STRUCT_TRAITS_END() |
+ |
// Speech input messages sent from the renderer to the browser. |
// Requests the speech input service to start speech recognition on behalf of |
@@ -61,7 +68,7 @@ IPC_MESSAGE_CONTROL2(SpeechInputHostMsg_StopRecording, |
// Relay a speech recognition result, either partial or final. |
IPC_MESSAGE_ROUTED2(SpeechInputMsg_SetRecognitionResult, |
int /* request_id */, |
- speech_input::SpeechInputResultArray /* result */) |
+ speech_input::SpeechInputResult /* result */) |
// Indicate that speech recognizer has stopped recording and started |
// recognition. |