| Index: ipc/ipc_mojo_param_traits.h
|
| diff --git a/ipc/ipc_mojo_param_traits.h b/ipc/ipc_mojo_param_traits.h
|
| index 39be43e217a300d337f0cd7d9e9fcb96041ae54f..a4d0228c0a650b5ffbf4511d6efb0e63e44da289 100644
|
| --- a/ipc/ipc_mojo_param_traits.h
|
| +++ b/ipc/ipc_mojo_param_traits.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "ipc/ipc_export.h"
|
| #include "ipc/ipc_param_traits.h"
|
| +#include "mojo/public/cpp/system/data_pipe.h"
|
| #include "mojo/public/cpp/system/message_pipe.h"
|
|
|
| namespace base {
|
| @@ -29,6 +30,17 @@ struct IPC_EXPORT ParamTraits<mojo::MessagePipeHandle> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct IPC_EXPORT ParamTraits<mojo::DataPipeConsumerHandle> {
|
| + typedef mojo::DataPipeConsumerHandle param_type;
|
| + static void GetSize(base::PickleSizer* sizer, const param_type& p);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // IPC_IPC_MOJO_PARAM_TRAITS_H_
|
|
|