gecko-dev/netwerk/protocol
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
..
about Bug 1555439: Store enterprise policy about: whitelist in static array. r=mkaply 2019-05-29 11:21:06 -07:00
data Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
file Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
ftp Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
gio Bug 1536744 - Add nsGIOProtocolHandler::GetSingleton(). Make sure nsIOService::GetProtocolHandler only returns it when it's supported. r=baku 2019-05-28 13:50:20 +00:00
http Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj 2019-06-06 14:57:34 +00:00
res Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
viewsource Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku 2019-05-28 13:49:27 +00:00
websocket Bug 1555715 - Remove WebSocketChannelParent::mIPCOpen; r=valentin 2019-05-31 12:08:02 +00:00
moz.build Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8 2019-02-28 01:09:48 +00:00