LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIMemoryInfoDumper.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMemoryInfoDumper.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIMemoryInfoDumper_h__
       6             : #define __gen_nsIMemoryInfoDumper_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : /* For IDL files that don't want to include root IDL files. */
      14             : #ifndef NS_NO_VTABLE
      15             : #define NS_NO_VTABLE
      16             : #endif
      17             : class nsIFile; /* forward declaration */
      18             : 
      19             : class nsICycleCollectorLogSink; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIFinishDumpingCallback */
      23             : #define NS_IFINISHDUMPINGCALLBACK_IID_STR "2dea18fc-fbfa-4bf7-ad45-0efaf5495f5e"
      24             : 
      25             : #define NS_IFINISHDUMPINGCALLBACK_IID \
      26             :   {0x2dea18fc, 0xfbfa, 0x4bf7, \
      27             :     { 0xad, 0x45, 0x0e, 0xfa, 0xf5, 0x49, 0x5f, 0x5e }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIFinishDumpingCallback : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFINISHDUMPINGCALLBACK_IID)
      33             : 
      34             :   /* void callback (in nsISupports data); */
      35             :   NS_IMETHOD Callback(nsISupports *data) = 0;
      36             : 
      37             : };
      38             : 
      39             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIFinishDumpingCallback, NS_IFINISHDUMPINGCALLBACK_IID)
      40             : 
      41             : /* Use this macro when declaring classes that implement this interface. */
      42             : #define NS_DECL_NSIFINISHDUMPINGCALLBACK \
      43             :   NS_IMETHOD Callback(nsISupports *data) override; 
      44             : 
      45             : /* Use this macro when declaring the members of this interface when the
      46             :    class doesn't implement the interface. This is useful for forwarding. */
      47             : #define NS_DECL_NON_VIRTUAL_NSIFINISHDUMPINGCALLBACK \
      48             :   nsresult Callback(nsISupports *data); 
      49             : 
      50             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      51             : #define NS_FORWARD_NSIFINISHDUMPINGCALLBACK(_to) \
      52             :   NS_IMETHOD Callback(nsISupports *data) override { return _to Callback(data); } 
      53             : 
      54             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55             : #define NS_FORWARD_SAFE_NSIFINISHDUMPINGCALLBACK(_to) \
      56             :   NS_IMETHOD Callback(nsISupports *data) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Callback(data); } 
      57             : 
      58             : #if 0
      59             : /* Use the code below as a template for the implementation class for this interface. */
      60             : 
      61             : /* Header file */
      62             : class nsFinishDumpingCallback : public nsIFinishDumpingCallback
      63             : {
      64             : public:
      65             :   NS_DECL_ISUPPORTS
      66             :   NS_DECL_NSIFINISHDUMPINGCALLBACK
      67             : 
      68             :   nsFinishDumpingCallback();
      69             : 
      70             : private:
      71             :   ~nsFinishDumpingCallback();
      72             : 
      73             : protected:
      74             :   /* additional members */
      75             : };
      76             : 
      77             : /* Implementation file */
      78             : NS_IMPL_ISUPPORTS(nsFinishDumpingCallback, nsIFinishDumpingCallback)
      79             : 
      80             : nsFinishDumpingCallback::nsFinishDumpingCallback()
      81             : {
      82             :   /* member initializers and constructor code */
      83             : }
      84             : 
      85             : nsFinishDumpingCallback::~nsFinishDumpingCallback()
      86             : {
      87             :   /* destructor code */
      88             : }
      89             : 
      90             : /* void callback (in nsISupports data); */
      91             : NS_IMETHODIMP nsFinishDumpingCallback::Callback(nsISupports *data)
      92             : {
      93             :     return NS_ERROR_NOT_IMPLEMENTED;
      94             : }
      95             : 
      96             : /* End of implementation class template. */
      97             : #endif
      98             : 
      99             : 
     100             : /* starting interface:    nsIDumpGCAndCCLogsCallback */
     101             : #define NS_IDUMPGCANDCCLOGSCALLBACK_IID_STR "dc1b2b24-65bd-441b-b6bd-cb5825a7ed14"
     102             : 
     103             : #define NS_IDUMPGCANDCCLOGSCALLBACK_IID \
     104             :   {0xdc1b2b24, 0x65bd, 0x441b, \
     105             :     { 0xb6, 0xbd, 0xcb, 0x58, 0x25, 0xa7, 0xed, 0x14 }}
     106             : 
     107           0 : class NS_NO_VTABLE nsIDumpGCAndCCLogsCallback : public nsISupports {
     108             :  public:
     109             : 
     110             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDUMPGCANDCCLOGSCALLBACK_IID)
     111             : 
     112             :   /* void onDump (in nsIFile aGCLog, in nsIFile aCCLog, in bool aIsParent); */
     113             :   NS_IMETHOD OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent) = 0;
     114             : 
     115             :   /* void onFinish (); */
     116             :   NS_IMETHOD OnFinish(void) = 0;
     117             : 
     118             : };
     119             : 
     120             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDumpGCAndCCLogsCallback, NS_IDUMPGCANDCCLOGSCALLBACK_IID)
     121             : 
     122             : /* Use this macro when declaring classes that implement this interface. */
     123             : #define NS_DECL_NSIDUMPGCANDCCLOGSCALLBACK \
     124             :   NS_IMETHOD OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent) override; \
     125             :   NS_IMETHOD OnFinish(void) override; 
     126             : 
     127             : /* Use this macro when declaring the members of this interface when the
     128             :    class doesn't implement the interface. This is useful for forwarding. */
     129             : #define NS_DECL_NON_VIRTUAL_NSIDUMPGCANDCCLOGSCALLBACK \
     130             :   nsresult OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent); \
     131             :   nsresult OnFinish(void); 
     132             : 
     133             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     134             : #define NS_FORWARD_NSIDUMPGCANDCCLOGSCALLBACK(_to) \
     135             :   NS_IMETHOD OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent) override { return _to OnDump(aGCLog, aCCLog, aIsParent); } \
     136             :   NS_IMETHOD OnFinish(void) override { return _to OnFinish(); } 
     137             : 
     138             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     139             : #define NS_FORWARD_SAFE_NSIDUMPGCANDCCLOGSCALLBACK(_to) \
     140             :   NS_IMETHOD OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnDump(aGCLog, aCCLog, aIsParent); } \
     141             :   NS_IMETHOD OnFinish(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnFinish(); } 
     142             : 
     143             : #if 0
     144             : /* Use the code below as a template for the implementation class for this interface. */
     145             : 
     146             : /* Header file */
     147             : class nsDumpGCAndCCLogsCallback : public nsIDumpGCAndCCLogsCallback
     148             : {
     149             : public:
     150             :   NS_DECL_ISUPPORTS
     151             :   NS_DECL_NSIDUMPGCANDCCLOGSCALLBACK
     152             : 
     153             :   nsDumpGCAndCCLogsCallback();
     154             : 
     155             : private:
     156             :   ~nsDumpGCAndCCLogsCallback();
     157             : 
     158             : protected:
     159             :   /* additional members */
     160             : };
     161             : 
     162             : /* Implementation file */
     163             : NS_IMPL_ISUPPORTS(nsDumpGCAndCCLogsCallback, nsIDumpGCAndCCLogsCallback)
     164             : 
     165             : nsDumpGCAndCCLogsCallback::nsDumpGCAndCCLogsCallback()
     166             : {
     167             :   /* member initializers and constructor code */
     168             : }
     169             : 
     170             : nsDumpGCAndCCLogsCallback::~nsDumpGCAndCCLogsCallback()
     171             : {
     172             :   /* destructor code */
     173             : }
     174             : 
     175             : /* void onDump (in nsIFile aGCLog, in nsIFile aCCLog, in bool aIsParent); */
     176             : NS_IMETHODIMP nsDumpGCAndCCLogsCallback::OnDump(nsIFile *aGCLog, nsIFile *aCCLog, bool aIsParent)
     177             : {
     178             :     return NS_ERROR_NOT_IMPLEMENTED;
     179             : }
     180             : 
     181             : /* void onFinish (); */
     182             : NS_IMETHODIMP nsDumpGCAndCCLogsCallback::OnFinish()
     183             : {
     184             :     return NS_ERROR_NOT_IMPLEMENTED;
     185             : }
     186             : 
     187             : /* End of implementation class template. */
     188             : #endif
     189             : 
     190             : 
     191             : /* starting interface:    nsIMemoryInfoDumper */
     192             : #define NS_IMEMORYINFODUMPER_IID_STR "48541b74-47ee-4a62-9557-7f4b809bda5c"
     193             : 
     194             : #define NS_IMEMORYINFODUMPER_IID \
     195             :   {0x48541b74, 0x47ee, 0x4a62, \
     196             :     { 0x95, 0x57, 0x7f, 0x4b, 0x80, 0x9b, 0xda, 0x5c }}
     197             : 
     198           0 : class NS_NO_VTABLE nsIMemoryInfoDumper : public nsISupports {
     199             :  public:
     200             : 
     201             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMEMORYINFODUMPER_IID)
     202             : 
     203             :   /* void dumpMemoryReportsToNamedFile (in AString aFilename, in nsIFinishDumpingCallback aFinishDumping, in nsISupports aFinishDumpingData, in boolean aAnonymize); */
     204             :   NS_IMETHOD DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize) = 0;
     205             : 
     206             :   /* void dumpMemoryInfoToTempDir (in AString aIdentifier, in boolean aAnonymize, in boolean aMinimizeMemoryUsage); */
     207             :   NS_IMETHOD DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage) = 0;
     208             : 
     209             :   /* void dumpGCAndCCLogsToFile (in AString aIdentifier, in bool aDumpAllTraces, in bool aDumpChildProcesses, in nsIDumpGCAndCCLogsCallback aCallback); */
     210             :   NS_IMETHOD DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback) = 0;
     211             : 
     212             :   /* void dumpGCAndCCLogsToSink (in bool aDumpAllTraces, in nsICycleCollectorLogSink aSink); */
     213             :   NS_IMETHOD DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink) = 0;
     214             : 
     215             : };
     216             : 
     217             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIMemoryInfoDumper, NS_IMEMORYINFODUMPER_IID)
     218             : 
     219             : /* Use this macro when declaring classes that implement this interface. */
     220             : #define NS_DECL_NSIMEMORYINFODUMPER \
     221             :   NS_IMETHOD DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize) override; \
     222             :   NS_IMETHOD DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage) override; \
     223             :   NS_IMETHOD DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback) override; \
     224             :   NS_IMETHOD DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink) override; 
     225             : 
     226             : /* Use this macro when declaring the members of this interface when the
     227             :    class doesn't implement the interface. This is useful for forwarding. */
     228             : #define NS_DECL_NON_VIRTUAL_NSIMEMORYINFODUMPER \
     229             :   nsresult DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize); \
     230             :   nsresult DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage); \
     231             :   nsresult DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback); \
     232             :   nsresult DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink); 
     233             : 
     234             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     235             : #define NS_FORWARD_NSIMEMORYINFODUMPER(_to) \
     236             :   NS_IMETHOD DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize) override { return _to DumpMemoryReportsToNamedFile(aFilename, aFinishDumping, aFinishDumpingData, aAnonymize); } \
     237             :   NS_IMETHOD DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage) override { return _to DumpMemoryInfoToTempDir(aIdentifier, aAnonymize, aMinimizeMemoryUsage); } \
     238             :   NS_IMETHOD DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback) override { return _to DumpGCAndCCLogsToFile(aIdentifier, aDumpAllTraces, aDumpChildProcesses, aCallback); } \
     239             :   NS_IMETHOD DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink) override { return _to DumpGCAndCCLogsToSink(aDumpAllTraces, aSink); } 
     240             : 
     241             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     242             : #define NS_FORWARD_SAFE_NSIMEMORYINFODUMPER(_to) \
     243             :   NS_IMETHOD DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpMemoryReportsToNamedFile(aFilename, aFinishDumping, aFinishDumpingData, aAnonymize); } \
     244             :   NS_IMETHOD DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpMemoryInfoToTempDir(aIdentifier, aAnonymize, aMinimizeMemoryUsage); } \
     245             :   NS_IMETHOD DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpGCAndCCLogsToFile(aIdentifier, aDumpAllTraces, aDumpChildProcesses, aCallback); } \
     246             :   NS_IMETHOD DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DumpGCAndCCLogsToSink(aDumpAllTraces, aSink); } 
     247             : 
     248             : #if 0
     249             : /* Use the code below as a template for the implementation class for this interface. */
     250             : 
     251             : /* Header file */
     252             : class nsMemoryInfoDumper : public nsIMemoryInfoDumper
     253             : {
     254             : public:
     255             :   NS_DECL_ISUPPORTS
     256             :   NS_DECL_NSIMEMORYINFODUMPER
     257             : 
     258             :   nsMemoryInfoDumper();
     259             : 
     260             : private:
     261             :   ~nsMemoryInfoDumper();
     262             : 
     263             : protected:
     264             :   /* additional members */
     265             : };
     266             : 
     267             : /* Implementation file */
     268             : NS_IMPL_ISUPPORTS(nsMemoryInfoDumper, nsIMemoryInfoDumper)
     269             : 
     270             : nsMemoryInfoDumper::nsMemoryInfoDumper()
     271             : {
     272             :   /* member initializers and constructor code */
     273             : }
     274             : 
     275             : nsMemoryInfoDumper::~nsMemoryInfoDumper()
     276             : {
     277             :   /* destructor code */
     278             : }
     279             : 
     280             : /* void dumpMemoryReportsToNamedFile (in AString aFilename, in nsIFinishDumpingCallback aFinishDumping, in nsISupports aFinishDumpingData, in boolean aAnonymize); */
     281             : NS_IMETHODIMP nsMemoryInfoDumper::DumpMemoryReportsToNamedFile(const nsAString & aFilename, nsIFinishDumpingCallback *aFinishDumping, nsISupports *aFinishDumpingData, bool aAnonymize)
     282             : {
     283             :     return NS_ERROR_NOT_IMPLEMENTED;
     284             : }
     285             : 
     286             : /* void dumpMemoryInfoToTempDir (in AString aIdentifier, in boolean aAnonymize, in boolean aMinimizeMemoryUsage); */
     287             : NS_IMETHODIMP nsMemoryInfoDumper::DumpMemoryInfoToTempDir(const nsAString & aIdentifier, bool aAnonymize, bool aMinimizeMemoryUsage)
     288             : {
     289             :     return NS_ERROR_NOT_IMPLEMENTED;
     290             : }
     291             : 
     292             : /* void dumpGCAndCCLogsToFile (in AString aIdentifier, in bool aDumpAllTraces, in bool aDumpChildProcesses, in nsIDumpGCAndCCLogsCallback aCallback); */
     293             : NS_IMETHODIMP nsMemoryInfoDumper::DumpGCAndCCLogsToFile(const nsAString & aIdentifier, bool aDumpAllTraces, bool aDumpChildProcesses, nsIDumpGCAndCCLogsCallback *aCallback)
     294             : {
     295             :     return NS_ERROR_NOT_IMPLEMENTED;
     296             : }
     297             : 
     298             : /* void dumpGCAndCCLogsToSink (in bool aDumpAllTraces, in nsICycleCollectorLogSink aSink); */
     299             : NS_IMETHODIMP nsMemoryInfoDumper::DumpGCAndCCLogsToSink(bool aDumpAllTraces, nsICycleCollectorLogSink *aSink)
     300             : {
     301             :     return NS_ERROR_NOT_IMPLEMENTED;
     302             : }
     303             : 
     304             : /* End of implementation class template. */
     305             : #endif
     306             : 
     307             : 
     308             : #endif /* __gen_nsIMemoryInfoDumper_h__ */

Generated by: LCOV version 1.13