diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-12 16:25:01 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-12 16:25:01 +0000 |
commit | 43a4020cd2aa067b10c55731978d9ac127a4cd50 (patch) | |
tree | e1fbf216dbd797608aa0eb7134b4e09700b50165 /ipc/ipc_message_utils.h | |
parent | 2140bd517307f12157235ff301c55ad84607c21a (diff) | |
download | chromium_src-43a4020cd2aa067b10c55731978d9ac127a4cd50.zip chromium_src-43a4020cd2aa067b10c55731978d9ac127a4cd50.tar.gz chromium_src-43a4020cd2aa067b10c55731978d9ac127a4cd50.tar.bz2 |
Add proxies for some of the PDF & Flash functionality. There are still a few
unimplemented parts in the Flash proxy, and I only implemented the necessary
part of the PDF one.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/4752008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_utils.h')
-rw-r--r-- | ipc/ipc_message_utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index 7c6018f..7d8cf4f 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -241,6 +241,14 @@ struct ParamTraits<unsigned long long> { static void Log(const param_type& p, std::string* l); }; +template <> +struct ParamTraits<unsigned short> { + typedef unsigned short 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::string* l); +}; + // Note that the IPC layer doesn't sanitize NaNs and +/- INF values. Clients // should be sure to check the sanity of these values after receiving them over // IPC. |