/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMemoryInfoDumper.idl
 */

#ifndef __gen_nsIMemoryInfoDumper_h__
#define __gen_nsIMemoryInfoDumper_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIFile; /* forward declaration */

class nsICycleCollectorLogSink; /* forward declaration */


/* starting interface:    nsIFinishDumpingCallback */
#define NS_IFINISHDUMPINGCALLBACK_IID_STR "2dea18fc-fbfa-4bf7-ad45-0efaf5495f5e"

#define NS_IFINISHDUMPINGCALLBACK_IID \
  {0x2dea18fc, 0xfbfa, 0x4bf7, \
    { 0xad, 0x45, 0x0e, 0xfa, 0xf5, 0x49, 0x5f, 0x5e }}

class NS_NO_VTABLE nsIFinishDumpingCallback : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFINISHDUMPINGCALLBACK_IID)

  /* void callback (in nsISupports data); */
  NS_IMETHOD Callback(nsISupports *data) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFinishDumpingCallback, NS_IFINISHDUMPINGCALLBACK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFINISHDUMPINGCALLBACK \
  NS_IMETHOD Callback(nsISupports *data) MOZ_OVERRIDE; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFINISHDUMPINGCALLBACK(_to) \
  NS_IMETHOD Callback(nsISupports *data) MOZ_OVERRIDE { return _to Callback(data); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFINISHDUMPINGCALLBACK(_to) \
  NS_IMETHOD Callback(nsISupports *data) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->Callback(data); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsFinishDumpingCallback : public nsIFinishDumpingCallback
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIFINISHDUMPINGCALLBACK

  nsFinishDumpingCallback();

private:
  ~nsFinishDumpingCallback();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsFinishDumpingCallback, nsIFinishDumpingCallback)

nsFinishDumpingCallback::nsFinishDumpingCallback()
{
  /* member initializers and constructor code */
}

nsFinishDumpingCallback::~nsFinishDumpingCallback()
{
  /* destructor code */
}

/* void callback (in nsISupports data); */
NS_IMETHODIMP nsFinishDumpingCallback::Callback(nsISupports *data)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    nsIDumpGCAndCCLogsCallback */
#define NS_IDUMPGCANDCCLOGSCALLBACK_IID_STR "dc1b2b24-65bd-441b-b6bd-cb5825a7ed14"

#define NS_IDUMPGCANDCCLOGSCALLBACK_IID \
  {0xdc1b2b24, 0x65bd, 0x441b, \
    { 0xb6, 0xbd, 0xcb, 0x58, 0x25, 0xa7, 0xed, 0x14 }}

class NS_NO_VTABLE nsIDumpGCAndCCLogsCallback : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDUMPGCANDCCLOGSCALLBACK_IID)

  /* void onDump (in nsIFile aGCLog, in nsIFile aCCLog, in bool aIsParent); */
  NS_IMETHOD OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent) = 0;

  /* void onFinish (); */
  NS_IMETHOD OnFinish(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDumpGCAndCCLogsCallback, NS_IDUMPGCANDCCLOGSCALLBACK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDUMPGCANDCCLOGSCALLBACK \
  NS_IMETHOD OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent) MOZ_OVERRIDE; \
  NS_IMETHOD OnFinish(void) MOZ_OVERRIDE; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDUMPGCANDCCLOGSCALLBACK(_to) \
  NS_IMETHOD OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent) MOZ_OVERRIDE { return _to OnDump(aGCLog, aCCLog, aIsParent); } \
  NS_IMETHOD OnFinish(void) MOZ_OVERRIDE { return _to OnFinish(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDUMPGCANDCCLOGSCALLBACK(_to) \
  NS_IMETHOD OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->OnDump(aGCLog, aCCLog, aIsParent); } \
  NS_IMETHOD OnFinish(void) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->OnFinish(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsDumpGCAndCCLogsCallback : public nsIDumpGCAndCCLogsCallback
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDUMPGCANDCCLOGSCALLBACK

  nsDumpGCAndCCLogsCallback();

private:
  ~nsDumpGCAndCCLogsCallback();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDumpGCAndCCLogsCallback, nsIDumpGCAndCCLogsCallback)

nsDumpGCAndCCLogsCallback::nsDumpGCAndCCLogsCallback()
{
  /* member initializers and constructor code */
}

nsDumpGCAndCCLogsCallback::~nsDumpGCAndCCLogsCallback()
{
  /* destructor code */
}

/* void onDump (in nsIFile aGCLog, in nsIFile aCCLog, in bool aIsParent); */
NS_IMETHODIMP nsDumpGCAndCCLogsCallback::OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onFinish (); */
NS_IMETHODIMP nsDumpGCAndCCLogsCallback::OnFinish()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    nsIMemoryInfoDumper */
#define NS_IMEMORYINFODUMPER_IID_STR "48541b74-47ee-4a62-9557-7f4b809bda5c"

#define NS_IMEMORYINFODUMPER_IID \
  {0x48541b74, 0x47ee, 0x4a62, \
    { 0x95, 0x57, 0x7f, 0x4b, 0x80, 0x9b, 0xda, 0x5c }}

class NS_NO_VTABLE nsIMemoryInfoDumper : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMEMORYINFODUMPER_IID)

  /* void dumpMemoryReportsToNamedFile (in AString aFilename, in nsIFinishDumpingCallback aFinishDumping, in nsISupports aFinishDumpingData, in boolean aAnonymize); */
  NS_IMETHOD DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize) = 0;

  /* void dumpMemoryInfoToTempDir (in AString aIdentifier, in boolean aAnonymize, in boolean aMinimizeMemoryUsage); */
  NS_IMETHOD DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage) = 0;

  /* void dumpGCAndCCLogsToFile (in AString aIdentifier, in bool aDumpAllTraces, in bool aDumpChildProcesses, in nsIDumpGCAndCCLogsCallback aCallback); */
  NS_IMETHOD DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback) = 0;

  /* void dumpGCAndCCLogsToSink (in bool aDumpAllTraces, in nsICycleCollectorLogSink aSink); */
  NS_IMETHOD DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMemoryInfoDumper, NS_IMEMORYINFODUMPER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMEMORYINFODUMPER \
  NS_IMETHOD DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize) MOZ_OVERRIDE; \
  NS_IMETHOD DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage) MOZ_OVERRIDE; \
  NS_IMETHOD DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback) MOZ_OVERRIDE; \
  NS_IMETHOD DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink) MOZ_OVERRIDE; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMEMORYINFODUMPER(_to) \
  NS_IMETHOD DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize) MOZ_OVERRIDE { return _to DumpMemoryReportsToNamedFile(aFilename, aFinishDumping, aFinishDumpingData, aAnonymize); } \
  NS_IMETHOD DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage) MOZ_OVERRIDE { return _to DumpMemoryInfoToTempDir(aIdentifier, aAnonymize, aMinimizeMemoryUsage); } \
  NS_IMETHOD DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback) MOZ_OVERRIDE { return _to DumpGCAndCCLogsToFile(aIdentifier, aDumpAllTraces, aDumpChildProcesses, aCallback); } \
  NS_IMETHOD DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink) MOZ_OVERRIDE { return _to DumpGCAndCCLogsToSink(aDumpAllTraces, aSink); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMEMORYINFODUMPER(_to) \
  NS_IMETHOD DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpMemoryReportsToNamedFile(aFilename, aFinishDumping, aFinishDumpingData, aAnonymize); } \
  NS_IMETHOD DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpMemoryInfoToTempDir(aIdentifier, aAnonymize, aMinimizeMemoryUsage); } \
  NS_IMETHOD DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpGCAndCCLogsToFile(aIdentifier, aDumpAllTraces, aDumpChildProcesses, aCallback); } \
  NS_IMETHOD DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpGCAndCCLogsToSink(aDumpAllTraces, aSink); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsMemoryInfoDumper : public nsIMemoryInfoDumper
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMEMORYINFODUMPER

  nsMemoryInfoDumper();

private:
  ~nsMemoryInfoDumper();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMemoryInfoDumper, nsIMemoryInfoDumper)

nsMemoryInfoDumper::nsMemoryInfoDumper()
{
  /* member initializers and constructor code */
}

nsMemoryInfoDumper::~nsMemoryInfoDumper()
{
  /* destructor code */
}

/* void dumpMemoryReportsToNamedFile (in AString aFilename, in nsIFinishDumpingCallback aFinishDumping, in nsISupports aFinishDumpingData, in boolean aAnonymize); */
NS_IMETHODIMP nsMemoryInfoDumper::DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void dumpMemoryInfoToTempDir (in AString aIdentifier, in boolean aAnonymize, in boolean aMinimizeMemoryUsage); */
NS_IMETHODIMP nsMemoryInfoDumper::DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void dumpGCAndCCLogsToFile (in AString aIdentifier, in bool aDumpAllTraces, in bool aDumpChildProcesses, in nsIDumpGCAndCCLogsCallback aCallback); */
NS_IMETHODIMP nsMemoryInfoDumper::DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void dumpGCAndCCLogsToSink (in bool aDumpAllTraces, in nsICycleCollectorLogSink aSink); */
NS_IMETHODIMP nsMemoryInfoDumper::DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIMemoryInfoDumper_h__ */
