Bumping manifests a=b2g-bump
[gecko.git] / ipc / glue / BackgroundParentImpl.h
blob89584df908f7b31b47067455e74cc991f808c7aa
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"
11 namespace mozilla {
12 namespace ipc {
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
18 protected:
19 BackgroundParentImpl();
20 virtual ~BackgroundParentImpl();
22 virtual void
23 ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
25 virtual PBackgroundTestParent*
26 AllocPBackgroundTestParent(const nsCString& aTestArg) MOZ_OVERRIDE;
28 virtual bool
29 RecvPBackgroundTestConstructor(PBackgroundTestParent* aActor,
30 const nsCString& aTestArg) MOZ_OVERRIDE;
32 virtual bool
33 DeallocPBackgroundTestParent(PBackgroundTestParent* aActor) MOZ_OVERRIDE;
36 } // namespace ipc
37 } // namespace mozilla
39 #endif // mozilla_ipc_backgroundparentimpl_h__