зеркало из https://github.com/mozilla/gecko-dev.git
48517afae6
MozPromise most common use is to have an single or exclusive listener. By making the MozPromise generated by IPDL exclusive we can also use move semantics. While at it, we also use move semantics for the ResponseRejectReason and via the callback's reject method so that the lambda used with the MozPromise::Then can be identical to the one used by the IPDL callback. As it currently is, it provides no advantage over a copy as it's just an enum; however, this will facilitate future changes where it may not be. Differential Revision: https://phabricator.services.mozilla.com/D13906 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
CodeCoverageHandler.cpp | ||
CodeCoverageHandler.h | ||
PerTestCoverageUtils.jsm | ||
moz.build | ||
nsCodeCoverage.cpp | ||
nsCodeCoverage.h | ||
nsCodeCoverageFactory.cpp | ||
nsICodeCoverage.idl |