1 : //
2 : // Automatically generated by ipdlc.
3 : // Edit at your own risk
4 : //
5 :
6 :
7 : #include "mozilla/plugins/PPluginBackgroundDestroyer.h"
8 :
9 : namespace mozilla {
10 : namespace plugins {
11 : namespace PPluginBackgroundDestroyer {
12 :
13 : bool
14 0 : Transition(
15 : State from,
16 : mozilla::ipc::Trigger trigger,
17 : State* next)
18 : {
19 0 : const int32 __Recv = mozilla::ipc::Trigger::Recv;
20 :
21 0 : switch (from) {
22 : case DESTROYING:
23 0 : switch ((trigger).mMsg) {
24 : case Msg___delete____ID:
25 0 : if ((__Recv) == ((trigger).mAction)) {
26 0 : (*(next)) = __Dead;
27 0 : return true;
28 : }
29 0 : break;
30 : }
31 : break;
32 : case __Null:
33 : case __Error:
34 0 : if ((Msg___delete____ID) == ((trigger).mMsg)) {
35 0 : (*(next)) = __Dead;
36 0 : return true;
37 : }
38 0 : return (__Null) == (from);
39 : case __Dead:
40 0 : NS_RUNTIMEABORT("__delete__()d actor");
41 0 : return false;
42 : default:
43 0 : NS_RUNTIMEABORT("corrupted actor state");
44 0 : return false;
45 : }
46 0 : (*(next)) = __Error;
47 0 : return false;
48 : }
49 :
50 : } // namespace PPluginBackgroundDestroyer
51 : } // namespace plugins
52 : } // namespace mozilla
|