gecko-dev/ipc/ipdl
Nika Layzell 03a2f40528 Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj
The vast majority of the virtual methods which were used on ProtocolState were
actually methods which only had meaningful implementations on the toplevel
protocol. This patch adds a new field to IProtocol holding a direct pointer to
the protocol's `IToplevelProtocol`, and the methods formerly implemented with
ProtocolState now directly call the corresponding method on IToplevelProtocol.
IToplevelProtocol then shadows these methods with the toplevel protocol
implementation, meaning that the right code is run in the right places.

In addition, some state was maintained for protocols inside of the separate
ProtocolState allocation, and this patch moves that state back into the actor
itself.

Differential Revision: https://phabricator.services.mozilla.com/D32044

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:34 +00:00
..
ipdl Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj 2019-06-06 14:57:34 +00:00
test Bug 1548717 - Part 1: Remove the unnecessary internal liveness state value, r=froydnj 2019-05-21 17:04:27 +00:00
ipdl.py Bug 1553270 - Part 2: Allow getting a protocol's name from its ProtocolID, r=froydnj 2019-05-24 22:36:49 +00:00
Makefile.in
message-metadata.ini Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8 2019-02-28 01:09:48 +00:00
moz.build
msgtype-components Bug 1513073 - make the IPDL compiler's code python3 syntax friendly; r=nika 2018-12-11 18:12:22 +00:00
sync-messages.ini Bug 1545787: Make EndRecording occur synchronously so it only returns once all files are written. r=mstange r=mccr8 2019-04-19 16:59:43 +02:00