int consent = P3P_NoPolicy;
int consent = P3P_UnknownPolicy; if (cookie_GetBehaviorPref() == PERMISSION_P3P) { nsCOMPtr<nsICookieConsent> p3p(do_GetService(NS_COOKIECONSENT_CONTRACTID)); if (p3p) { p3p->GetConsent(curURL,aHttpChannel,&consent); } }
P3P_SitePolicy(char * curURL, nsIHttpChannel* aHttpChannel) {  int consent = P3P_NoPolicy;//!!!!!  nsCOMPtr<nsIP3PService> p3p(do_GetService(NS_P3PSERVICE_CONTRACTID));//!!!!!  if (p3p) {//!!!!!    p3p->GetConsent(curURL,aHttpChannel,&consent);//!!!!!  }  return consent;}