Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsContentPolicy.cpp File Reference
#include "prlog.h"
#include "nsISupports.h"
#include "nsXPCOM.h"
#include "nsISupportsPrimitives.h"
#include "nsXPIDLString.h"
#include "nsContentPolicyUtils.h"
#include "nsContentPolicy.h"
#include "nsICategoryManager.h"
#include "nsIURI.h"
#include "nsIDOMNode.h"
#include "nsIDOMWindow.h"
#include "nsIContent.h"

Go to the source code of this file.

Defines

#define WARN_IF_URI_UNINITIALIZED(uri, name)
#define LOG_CHECK(logType)
 defined(PR_LOGGING)

Functions

nsresult NS_NewContentPolicy (nsIContentPolicy **aResult)

Define Documentation

#define LOG_CHECK (   logType)

defined(PR_LOGGING)

Definition at line 261 of file nsContentPolicy.cpp.

Definition at line 153 of file nsContentPolicy.cpp.


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;
}

Here is the call graph for this function: