1 : //
2 : // Automatically generated by ipdlc.
3 : // Edit at your own risk
4 : //
5 :
6 :
7 : #include "mozilla/plugins/PPluginModule.h"
8 :
9 : namespace mozilla {
10 : namespace plugins {
11 : namespace PPluginModule {
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 : return (__Null) == (from);
23 : case __Dead:
24 0 : NS_RUNTIMEABORT("__delete__()d actor");
25 0 : return false;
26 : default:
27 0 : NS_RUNTIMEABORT("corrupted actor state");
28 0 : return false;
29 : }
30 : (*(next)) = __Error;
31 : return false;
32 : }
33 :
34 : } // namespace PPluginModule
35 : } // namespace plugins
36 : } // namespace mozilla
|