LCOV - code coverage report
Current view: directory - objdir/ipc/ipdl/_ipdlheaders/mozilla/plugins - PPluginBackgroundDestroyer.h (source / functions) Found Hit Coverage
Test: app.info Lines: 12 0 0.0 %
Date: 2012-06-02 Functions: 4 0 0.0 %

       1                 : //
       2                 : // Automatically generated by ipdlc.
       3                 : // Edit at your own risk
       4                 : //
       5                 : 
       6                 : #ifndef PPluginBackgroundDestroyer_h
       7                 : #define PPluginBackgroundDestroyer_h
       8                 : 
       9                 : #include "mozilla/Attributes.h"
      10                 : #include "base/basictypes.h"
      11                 : #include "prtime.h"
      12                 : #include "nscore.h"
      13                 : #include "IPCMessageStart.h"
      14                 : #include "IPC/IPCMessageUtils.h"
      15                 : #include "nsAutoPtr.h"
      16                 : #include "nsStringGlue.h"
      17                 : #include "nsTArray.h"
      18                 : #include "nsIFile.h"
      19                 : #include "mozilla/ipc/ProtocolUtils.h"
      20                 : 
      21                 : //-----------------------------------------------------------------------------
      22                 : // Code common to PPluginBackgroundDestroyerChild and PPluginBackgroundDestroyerParent
      23                 : //
      24                 : namespace mozilla {
      25                 : namespace plugins {
      26                 : namespace PPluginBackgroundDestroyer {
      27                 : 
      28                 : enum State {
      29                 :     __Dead,
      30                 :     __Null,
      31                 :     __Error,
      32                 :     DESTROYING,
      33                 :     __Start = DESTROYING
      34                 : };
      35                 : 
      36                 : enum MessageType {
      37                 :     PPluginBackgroundDestroyerStart = PPluginBackgroundDestroyerMsgStart << 16,
      38                 :     PPluginBackgroundDestroyerPreStart = (PPluginBackgroundDestroyerMsgStart << 16) - 1,
      39                 :     Msg___delete____ID,
      40                 :     Reply___delete____ID,
      41                 :     PPluginBackgroundDestroyerEnd
      42                 : };
      43                 : 
      44                 : bool
      45                 : Transition(
      46                 :         State from,
      47                 :         mozilla::ipc::Trigger trigger,
      48                 :         State* next);
      49                 : 
      50                 : class Msg___delete__ :
      51                 :     public IPC::Message
      52               0 : {
      53                 : private:
      54                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
      55                 :     typedef mozilla::ipc::Shmem Shmem;
      56                 : 
      57                 : public:
      58                 :     enum {
      59                 :         ID = Msg___delete____ID
      60                 :     };
      61               0 :     Msg___delete__() :
      62               0 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PPluginBackgroundDestroyer::Msg___delete__")
      63                 :     {
      64               0 :     }
      65                 : 
      66                 :     void
      67               0 :     Log(
      68                 :             const std::string& __pfx,
      69                 :             FILE* __outf) const
      70                 :     {
      71               0 :         std::string __logmsg;
      72               0 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
      73               0 :         (__logmsg).append(__pfx);
      74               0 :         (__logmsg).append("Msg___delete__(");
      75                 : 
      76               0 :         (__logmsg).append("[TODO])\n");
      77               0 :         fputs((__logmsg).c_str(), __outf);
      78               0 :     }
      79                 : };
      80                 : 
      81                 : class Reply___delete__ :
      82                 :     public IPC::Message
      83                 : {
      84                 : private:
      85                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
      86                 :     typedef mozilla::ipc::Shmem Shmem;
      87                 : 
      88                 : public:
      89                 :     enum {
      90                 :         ID = Reply___delete____ID
      91                 :     };
      92                 :     Reply___delete__() :
      93                 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PPluginBackgroundDestroyer::Reply___delete__")
      94                 :     {
      95                 :     }
      96                 : 
      97                 :     void
      98                 :     Log(
      99                 :             const std::string& __pfx,
     100                 :             FILE* __outf) const
     101                 :     {
     102                 :         std::string __logmsg;
     103                 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
     104                 :         (__logmsg).append(__pfx);
     105                 :         (__logmsg).append("Reply___delete__(");
     106                 : 
     107                 :         (__logmsg).append("[TODO])\n");
     108                 :         fputs((__logmsg).c_str(), __outf);
     109                 :     }
     110                 : };
     111                 : 
     112                 : 
     113                 : 
     114                 : } // namespace PPluginBackgroundDestroyer
     115                 : } // namespace plugins
     116                 : } // namespace mozilla
     117                 : 
     118                 : #endif // ifndef PPluginBackgroundDestroyer_h

Generated by: LCOV version 1.7