1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_ipc_backgroundparentimpl_h__
6 #define mozilla_ipc_backgroundparentimpl_h__
8 #include "mozilla/Attributes.h"
9 #include "mozilla/ipc/PBackgroundParent.h"
14 // Instances of this class should never be created directly. This class is meant
15 // to be inherited in BackgroundImpl.
16 class BackgroundParentImpl
: public PBackgroundParent
19 BackgroundParentImpl();
20 virtual ~BackgroundParentImpl();
23 ActorDestroy(ActorDestroyReason aWhy
) MOZ_OVERRIDE
;
25 virtual PBackgroundTestParent
*
26 AllocPBackgroundTestParent(const nsCString
& aTestArg
) MOZ_OVERRIDE
;
29 RecvPBackgroundTestConstructor(PBackgroundTestParent
* aActor
,
30 const nsCString
& aTestArg
) MOZ_OVERRIDE
;
33 DeallocPBackgroundTestParent(PBackgroundTestParent
* aActor
) MOZ_OVERRIDE
;
37 } // namespace mozilla
39 #endif // mozilla_ipc_backgroundparentimpl_h__