Index: gpu/ipc/gpu_command_buffer_traits.h |
diff --git a/gpu/ipc/gpu_command_buffer_traits.h b/gpu/ipc/gpu_command_buffer_traits.h |
index d99d4654bffa59170a8da29965c8db2a1055e92f..880625e05124eb90fc1bab3681a6a12d7a2cd82d 100644 |
--- a/gpu/ipc/gpu_command_buffer_traits.h |
+++ b/gpu/ipc/gpu_command_buffer_traits.h |
@@ -13,6 +13,7 @@ |
namespace gpu { |
struct Mailbox; |
struct MailboxHolder; |
+struct SyncToken; |
union ValueState; |
} |
@@ -27,6 +28,14 @@ struct GPU_EXPORT ParamTraits<gpu::CommandBuffer::State> { |
}; |
template<> |
+struct GPU_EXPORT ParamTraits<gpu::SyncToken> { |
+ typedef gpu::SyncToken param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
+template<> |
struct GPU_EXPORT ParamTraits<gpu::Mailbox> { |
typedef gpu::Mailbox param_type; |
static void Write(Message* m, const param_type& p); |