Created attachment 635022 [details] [diff] [review]
Export nsNSSShutdown from PSM
The new Identity service (for Browser ID / Mozilla Persona) and the Sync J-PAKE component (nsSyncJPAKE) need to use nsNSSShutdownObject to handle shutdown properly. This patch just exports the nsNSSShutdown.h header from PSM so that other modules can use it. Luckily, nsNSSShutdown.h doesn't have any dependencies on other PSM or NSS stuff.
We are hoping to land the Identity stuff very soon (within a week, I believe).
In the past, there was the rule that direct link dependencies between XPCOM modules, circumventing IDL, wasn't allowed.
I just asked on IRC and got an answer that nowadays it is allowed. Based on that: