| Index: chrome/common/ipc_message_utils.h
|
| ===================================================================
|
| --- chrome/common/ipc_message_utils.h (revision 16497)
|
| +++ chrome/common/ipc_message_utils.h (working copy)
|
| @@ -25,6 +25,8 @@
|
| // Forward declarations.
|
| class GURL;
|
| class SkBitmap;
|
| +class DictionaryValue;
|
| +class ListValue;
|
|
|
| namespace gfx {
|
| class Point;
|
| @@ -359,6 +361,22 @@
|
| };
|
|
|
| template <>
|
| +struct ParamTraits<DictionaryValue> {
|
| + typedef DictionaryValue param_type;
|
| + static void Write(Message* m, const param_type& p);
|
| + static bool Read(const Message* m, void** iter, param_type* r);
|
| + static void Log(const param_type& p, std::wstring* l);
|
| +};
|
| +
|
| +template <>
|
| +struct ParamTraits<ListValue> {
|
| + typedef ListValue param_type;
|
| + static void Write(Message* m, const param_type& p);
|
| + static bool Read(const Message* m, void** iter, param_type* r);
|
| + static void Log(const param_type& p, std::wstring* l);
|
| +};
|
| +
|
| +template <>
|
| struct ParamTraits<std::string> {
|
| typedef std::string param_type;
|
| static void Write(Message* m, const param_type& p) {
|
|
|