author | Bill McCloskey <billm@mozilla.com> |
Fri, 10 Feb 2017 21:36:14 -0800 | |
changeset 343185 | 68b195e78af058066e43991485085482c1af802c |
parent 343125 | 6296e675694a4b256dc54f3be1a6c2b182203323 |
child 343186 | 6ea3593a23e443f50f877ece94e14e9b3f6ffdf2 |
push id | 31372 |
push user | cbook@mozilla.com |
push date | Thu, 16 Feb 2017 12:16:10 +0000 |
treeherder | mozilla-central@2737f66ad6ac [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | kanru |
bugs | 1339224 |
milestone | 54.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
ipc/ipdl/ipdl.py | file | annotate | diff | comparison | revisions |
--- a/ipc/ipdl/ipdl.py +++ b/ipc/ipdl/ipdl.py @@ -176,16 +176,17 @@ static_assert(LastMsgIndex <= 65536, "ne #endif // ifndef IPCMessageStart_h """ ipc_msgtype_name = StringIO() print >>ipc_msgtype_name, """ // CODE GENERATED by ipdl.py. Do not edit. #include <cstdint> +#include "mozilla/ipc/ProtocolUtils.h" #include "IPCMessageStart.h" using std::uint32_t; namespace { enum IPCMessages { """ @@ -214,16 +215,26 @@ for protocol in sorted(allmessages.keys( for (msg, num) in allmessages[protocol].idnums: if num or msg.endswith('End'): continue print >>ipc_msgtype_name, """ case %s__%s: return "%s::%s";""" % (protocol, msg, protocol, msg) print >>ipc_msgtype_name, """ + case CHANNEL_OPENED_MESSAGE_TYPE: + return "CHANNEL_OPENED_MESSAGE"; + case SHMEM_DESTROYED_MESSAGE_TYPE: + return "SHMEM_DESTROYED_MESSAGE"; + case SHMEM_CREATED_MESSAGE_TYPE: + return "SHMEM_CREATED_MESSAGE"; + case GOODBYE_MESSAGE_TYPE: + return "GOODBYE_MESSAGE"; + case CANCEL_MESSAGE_TYPE: + return "CANCEL_MESSAGE"; default: return "<unknown IPC msg name>"; } } } // namespace ipc } // namespace mozilla """