gecko-dev/netwerk/protocol
Kris Maglione 8340513b0c Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.

This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.

MozReview-Commit-ID: HaTGF7MN5Cv

--HG--
extra : rebase_source : ace930129d85960d22bc3048ca3bb19bbbd4a63e
extra : histedit_source : 03a87f746d957789d41381e4e1bfcc4fd7eebaf2%2C9c5bae9feeeef7721105db67be0f83e0ded66bb7
2018-05-21 16:33:18 -07:00
..
about Bug 1448058 - Remove nsIMutable from URI implementations r=mayhemer 2018-05-09 18:21:24 +02:00
data Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin 2018-04-30 19:46:04 +03:00
file Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin 2018-04-30 19:46:04 +03:00
ftp Bug 1436311 - Fix a bug in suspending a ftp channel during a divertion from the child to the parent. r=jduell 2018-04-27 11:41:00 -04:00
gio Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer 2018-02-21 01:00:54 +01:00
http Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz 2018-05-21 16:33:18 -07:00
res Bug 1461590: Lower-case hostnames when adding substitutions. r=smaug f=dveditz 2018-05-15 13:02:08 -07:00
viewsource Bug 1448058 - Remove nsIMutable from URI implementations r=mayhemer 2018-05-09 18:21:24 +02:00
websocket Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
wyciwyg Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
moz.build Bug 1408957 - Remove netwerk/protocol/device/ (no longer used) r=dragana 2017-10-16 12:12:16 +02:00