| Index: chrome/common/ipc_message_utils.h
|
| ===================================================================
|
| --- chrome/common/ipc_message_utils.h (revision 10811)
|
| +++ chrome/common/ipc_message_utils.h (working copy)
|
| @@ -690,6 +690,20 @@
|
| }
|
| };
|
|
|
| +template <>
|
| +struct ParamTraits<string16> {
|
| + typedef string16 param_type;
|
| + static void Write(Message* m, const param_type& p) {
|
| + m->WriteString16(p);
|
| + }
|
| + static bool Read(const Message* m, void** iter, param_type* r) {
|
| + return m->ReadString16(iter, r);
|
| + }
|
| + static void Log(const param_type& p, std::wstring* l) {
|
| + l->append(UTF16ToWide(p));
|
| + }
|
| +};
|
| +
|
| #endif // defined(OS_POSIX)
|
|
|
| template<>
|
|
|