NS_IMETHOD GetPrincipal(nsIPrincipal **aPrincipal) { NS_ADDREF(*aPrincipal = mPrincipal); return NS_OK;
virtual nsIPrincipal* GetPrincipal() { return mPrincipal;
  NS_IMETHOD GetPrincipal(nsIPrincipal **aPrincipal) {    NS_ADDREF(*aPrincipal = mPrincipal);    return NS_OK;  }