2013-11-27 07:59:41 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2014-09-26 23:21:57 +00:00
|
|
|
include protocol PBackgroundIDBFactory;
|
2013-11-27 07:59:41 +00:00
|
|
|
include protocol PBackgroundTest;
|
2014-09-26 23:21:57 +00:00
|
|
|
include protocol PBlob;
|
2015-01-15 16:58:40 +00:00
|
|
|
include protocol PBroadcastChannel;
|
2014-09-26 23:21:57 +00:00
|
|
|
include protocol PFileDescriptorSet;
|
2015-01-13 23:37:00 +00:00
|
|
|
include protocol PVsync;
|
2014-09-26 23:21:57 +00:00
|
|
|
|
|
|
|
include DOMTypes;
|
2015-01-15 16:58:40 +00:00
|
|
|
include PBackgroundSharedTypes;
|
2014-10-16 04:56:52 +00:00
|
|
|
include PBackgroundIDBSharedTypes;
|
2015-02-11 11:53:00 +00:00
|
|
|
include ServiceWorkerRegistrarTypes;
|
2014-09-26 23:21:57 +00:00
|
|
|
|
2013-11-27 07:59:41 +00:00
|
|
|
namespace mozilla {
|
|
|
|
namespace ipc {
|
|
|
|
|
2014-09-26 23:21:57 +00:00
|
|
|
sync protocol PBackground
|
2013-11-27 07:59:41 +00:00
|
|
|
{
|
2014-09-26 23:21:57 +00:00
|
|
|
manages PBackgroundIDBFactory;
|
2013-11-27 07:59:41 +00:00
|
|
|
manages PBackgroundTest;
|
2014-09-26 23:21:57 +00:00
|
|
|
manages PBlob;
|
2015-01-15 16:58:40 +00:00
|
|
|
manages PBroadcastChannel;
|
2014-09-26 23:21:57 +00:00
|
|
|
manages PFileDescriptorSet;
|
2015-01-13 23:37:00 +00:00
|
|
|
manages PVsync;
|
2013-11-27 07:59:41 +00:00
|
|
|
|
|
|
|
parent:
|
|
|
|
// Only called at startup during mochitests to check the basic infrastructure.
|
|
|
|
PBackgroundTest(nsCString testArg);
|
2014-09-26 23:21:57 +00:00
|
|
|
|
2014-10-16 04:56:52 +00:00
|
|
|
PBackgroundIDBFactory(LoggingInfo loggingInfo);
|
2014-09-26 23:21:57 +00:00
|
|
|
|
2015-01-13 23:37:00 +00:00
|
|
|
PVsync();
|
|
|
|
|
2015-01-15 16:58:40 +00:00
|
|
|
PBroadcastChannel(PrincipalInfo pInfo, nsString origin, nsString channel);
|
|
|
|
|
2015-02-11 11:53:00 +00:00
|
|
|
RegisterServiceWorker(ServiceWorkerRegistrationData data);
|
|
|
|
UnregisterServiceWorker(PrincipalInfo principalInfo,
|
|
|
|
nsString scope);
|
|
|
|
ShutdownServiceWorkerRegistrar();
|
|
|
|
|
2014-09-26 23:21:57 +00:00
|
|
|
both:
|
|
|
|
PBlob(BlobConstructorParams params);
|
|
|
|
|
|
|
|
PFileDescriptorSet(FileDescriptor fd);
|
2013-11-27 07:59:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace ipc
|
|
|
|
} // namespace mozilla
|