Index: chrome/common/render_messages.h |
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h |
index da54616e8978d3be9fca9bb59f821c458ad16290..9ce8930cf954af6123a13d4c289e7248076fcd52 100644 |
--- a/chrome/common/render_messages.h |
+++ b/chrome/common/render_messages.h |
@@ -53,6 +53,10 @@ namespace webkit_blob { |
class BlobData; |
} |
+namespace speech_input { |
+struct SpeechInputResultItem; |
+} |
+ |
namespace webkit_glue { |
struct FormData; |
class FormField; |
@@ -627,6 +631,14 @@ struct ParamTraits<PepperDirEntry> { |
static void Log(const param_type& p, std::string* l); |
}; |
+template <> |
+struct ParamTraits<speech_input::SpeechInputResultItem> { |
+ typedef speech_input::SpeechInputResultItem param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, void** iter, param_type* p); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
} // namespace IPC |
#define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" |