Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsContentPolicy.h File Reference
#include "nsIContentPolicy.h"
#include "nsCOMArray.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsContentPolicy

Functions

nsresult NS_NewContentPolicy (nsIContentPolicy **aResult)

Function Documentation

Definition at line 60 of file nsContentPolicy.cpp.

{
  *aResult = new nsContentPolicy;
  if (!*aResult)
      return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(*aResult);
  return NS_OK;
}