LCOV - code coverage report
Current view: directory - objdir/ipc/ipdl - PMemoryReportRequest.cpp (source / functions) Found Hit Coverage
Test: app.info Lines: 39 0 0.0 %
Date: 2012-06-02 Functions: 6 0 0.0 %

       1                 : //
       2                 : // Automatically generated by ipdlc.
       3                 : // Edit at your own risk
       4                 : //
       5                 : 
       6                 : 
       7                 : #include "mozilla/dom/PMemoryReportRequest.h"
       8                 : 
       9                 : namespace mozilla {
      10                 : namespace dom {
      11                 : namespace PMemoryReportRequest {
      12                 : 
      13                 : bool
      14               0 : Transition(
      15                 :         State from,
      16                 :         mozilla::ipc::Trigger trigger,
      17                 :         State* next)
      18                 : {
      19               0 :     switch (from) {
      20                 :     case __Null:
      21                 :     case __Error:
      22               0 :         if ((Msg___delete____ID) == ((trigger).mMsg)) {
      23               0 :             (*(next)) = __Dead;
      24               0 :             return true;
      25                 :         }
      26               0 :         return (__Null) == (from);
      27                 :     case __Dead:
      28               0 :         NS_RUNTIMEABORT("__delete__()d actor");
      29               0 :         return false;
      30                 :     default:
      31               0 :         NS_RUNTIMEABORT("corrupted actor state");
      32               0 :         return false;
      33                 :     }
      34                 :     (*(next)) = __Error;
      35                 :     return false;
      36                 : }
      37                 : 
      38                 : } // namespace PMemoryReportRequest
      39                 : } // namespace dom
      40                 : } // namespace mozilla
      41                 : 
      42                 : //-----------------------------------------------------------------------------
      43                 : // Method definitions for the IPDL type |struct MemoryReport|
      44                 : //
      45                 : namespace mozilla {
      46                 : namespace dom {
      47               0 : MemoryReport::MemoryReport()
      48                 : {
      49               0 :     Init();
      50               0 : }
      51                 : 
      52               0 : MemoryReport::~MemoryReport()
      53                 : {
      54               0 : }
      55                 : 
      56                 : bool
      57               0 : MemoryReport::operator==(const MemoryReport& _o) const
      58                 : {
      59               0 :     if ((!((process()) == ((_o).process())))) {
      60               0 :         return false;
      61                 :     }
      62               0 :     if ((!((path()) == ((_o).path())))) {
      63               0 :         return false;
      64                 :     }
      65               0 :     if ((!((kind()) == ((_o).kind())))) {
      66               0 :         return false;
      67                 :     }
      68               0 :     if ((!((units()) == ((_o).units())))) {
      69               0 :         return false;
      70                 :     }
      71               0 :     if ((!((amount()) == ((_o).amount())))) {
      72               0 :         return false;
      73                 :     }
      74               0 :     if ((!((desc()) == ((_o).desc())))) {
      75               0 :         return false;
      76                 :     }
      77               0 :     return true;
      78                 : }
      79                 : 
      80                 : void
      81               0 : MemoryReport::Init()
      82                 : {
      83               0 : }
      84                 : 
      85                 : void
      86               0 : MemoryReport::Assign(
      87                 :         const nsCString& _process,
      88                 :         const nsCString& _path,
      89                 :         const PRInt32& _kind,
      90                 :         const PRInt32& _units,
      91                 :         const PRInt64& _amount,
      92                 :         const nsCString& _desc)
      93                 : {
      94               0 :     process_ = _process;
      95               0 :     path_ = _path;
      96               0 :     kind_ = _kind;
      97               0 :     units_ = _units;
      98               0 :     amount_ = _amount;
      99               0 :     desc_ = _desc;
     100               0 : }
     101                 : 
     102                 : } // namespace dom
     103                 : } // namespace mozilla

Generated by: LCOV version 1.7