NS_InitXPCOM2(nsnull, nsnull, nsnull);
const char* properties_filename = nsnull;
int main(int argc, char **argv){  NS_InitXPCOM2(nsnull, nsnull, nsnull);  nsCOMPtr <nsIChromeRegistry> chromeReg =     do_GetService("@mozilla.org/chrome/chrome-registry;1");  if (!chromeReg) {    NS_WARNING("chrome check couldn't get the chrome registry");    return NS_ERROR_FAILURE;  }  chromeReg->CheckForNewChrome();  // release the chrome registry before we shutdown XPCOM  chromeReg = 0;  NS_ShutdownXPCOM(nsnull);  return 0;}