Line data Source code
1 : //
2 : // Automatically generated by ipdlc.
3 : // Edit at your own risk
4 : //
5 :
6 :
7 : #include "mozilla/dom/PServiceWorkerUpdater.h"
8 :
9 : namespace mozilla {
10 : namespace dom {
11 : namespace PServiceWorkerUpdater {
12 :
13 : nsresult
14 0 : CreateEndpoints(
15 : base::ProcessId aParentDestPid,
16 : base::ProcessId aChildDestPid,
17 : mozilla::ipc::Endpoint<mozilla::dom::PServiceWorkerUpdaterParent>* aParent,
18 : mozilla::ipc::Endpoint<mozilla::dom::PServiceWorkerUpdaterChild>* aChild)
19 : {
20 0 : return mozilla::ipc::CreateEndpoints(mozilla::ipc::PrivateIPDLInterface(), aParentDestPid, aChildDestPid, PServiceWorkerUpdaterMsgStart, PServiceWorkerUpdaterMsgStartChild, aParent, aChild);
21 : }
22 : void
23 0 : Transition(
24 : MessageType msg,
25 : State* next)
26 : {
27 0 : switch ((*(next))) {
28 : case __Null:
29 0 : if ((Msg___delete____ID) == (msg)) {
30 0 : (*(next)) = __Dead;
31 : }
32 0 : break;
33 : case __Dead:
34 0 : mozilla::ipc::LogicError("__delete__()d actor");
35 0 : break;
36 : default:
37 0 : mozilla::ipc::LogicError("corrupted actor state");
38 0 : break;
39 : }
40 0 : }
41 : IPC::Message*
42 0 : Msg___delete__(int32_t routingId)
43 : {
44 0 : return new IPC::Message(routingId, Msg___delete____ID, 0, IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, "PServiceWorkerUpdater::Msg___delete__", true);
45 : }
46 : IPC::Message*
47 0 : Reply___delete__(int32_t routingId)
48 : {
49 0 : return new IPC::Message(routingId, Reply___delete____ID, 0, IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, "PServiceWorkerUpdater::Reply___delete__", true);
50 : }
51 : IPC::Message*
52 0 : Msg_Proceed(int32_t routingId)
53 : {
54 0 : return new IPC::Message(routingId, Msg_Proceed__ID, 0, IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, "PServiceWorkerUpdater::Msg_Proceed", true);
55 : }
56 :
57 : } // namespace PServiceWorkerUpdater
58 : } // namespace dom
59 : } // namespace mozilla
|