gecko-dev/netwerk
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
..
base Bug 1557237. Stop using [array] in nsIPrompt and nsIPromptService. r=Gijs 2019-06-06 08:03:56 +00:00
build Bug 1536744 - Add nsResProtocolHandler::GetSingleton() r=baku 2019-05-28 13:46:17 +00:00
cache Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
cache2 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
cookie Bug 1551798 - nsICookie.sameSite should return rawSameSite if lax-by-default pref is set to false, r=Ehsan 2019-06-05 12:20:05 +00:00
dns Bug 1556911 - Don't instantiate NetworkConnectivityService off-main-thread r=dragana 2019-06-05 20:39:12 +00:00
ipc Bug 1551798 - Store sameSite value as received from the wire in the database - migration 10, r=Ehsan,robwu 2019-06-05 12:19:54 +00:00
locales Bug 1523249, r=valentin 2019-01-30 11:39:42 +00:00
mime Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
protocol Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj 2019-06-06 14:57:34 +00:00
sctp Bug 1551589: readyState fixes r=ng 2019-05-29 21:27:18 +00:00
socket Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
srtp
streamconv Bug 1436674 - nsICookieService.idl should use ACString XPIDL type in place of the string type, r=Ehsan 2019-05-31 09:36:44 +00:00
system Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
test Bug 1551798 - Store sameSite value as received from the wire in the database - migration 10, r=Ehsan,robwu 2019-06-05 12:19:54 +00:00
url-classifier Bug 1548517 - Add hash for test entries added via HostInPrefTables. r=baku 2019-05-10 19:39:24 +00:00
wifi Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
moz.build Bug 1511436 - Cleanup URL-Classifier code - part 1 - nsIUrlClassifierFeature, r=dimi 2018-12-14 12:40:16 +01:00
necko-config.h.in