2013-11-27 11:59:41 +04: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-27 03:21:57 +04:00
|
|
|
include protocol PBackgroundIDBFactory;
|
2013-11-27 11:59:41 +04:00
|
|
|
include protocol PBackgroundTest;
|
2014-09-27 03:21:57 +04:00
|
|
|
include protocol PBlob;
|
2015-01-15 19:58:40 +03:00
|
|
|
include protocol PBroadcastChannel;
|
2015-03-02 16:20:00 +03:00
|
|
|
include protocol PCache;
|
|
|
|
include protocol PCacheStorage;
|
|
|
|
include protocol PCacheStreamControl;
|
2014-09-27 03:21:57 +04:00
|
|
|
include protocol PFileDescriptorSet;
|
2015-03-03 17:51:05 +03:00
|
|
|
include protocol PMedia;
|
2015-05-29 17:14:14 +03:00
|
|
|
include protocol PUDPSocket;
|
|
|
|
include protocol PVsync;
|
2014-09-27 03:21:57 +04:00
|
|
|
|
|
|
|
include DOMTypes;
|
2015-01-15 19:58:40 +03:00
|
|
|
include PBackgroundSharedTypes;
|
2014-10-16 08:56:52 +04:00
|
|
|
include PBackgroundIDBSharedTypes;
|
2015-06-05 14:07:51 +03:00
|
|
|
include ServiceWorkerRegistrarTypes;
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2015-03-02 16:20:00 +03:00
|
|
|
using mozilla::dom::cache::Namespace from "mozilla/dom/cache/Types.h";
|
|
|
|
include "mozilla/dom/cache/IPCUtils.h";
|
|
|
|
|
2013-11-27 11:59:41 +04:00
|
|
|
namespace mozilla {
|
|
|
|
namespace ipc {
|
|
|
|
|
2014-09-27 03:21:57 +04:00
|
|
|
sync protocol PBackground
|
2013-11-27 11:59:41 +04:00
|
|
|
{
|
2014-09-27 03:21:57 +04:00
|
|
|
manages PBackgroundIDBFactory;
|
2013-11-27 11:59:41 +04:00
|
|
|
manages PBackgroundTest;
|
2014-09-27 03:21:57 +04:00
|
|
|
manages PBlob;
|
2015-01-15 19:58:40 +03:00
|
|
|
manages PBroadcastChannel;
|
2015-03-02 16:20:00 +03:00
|
|
|
manages PCache;
|
|
|
|
manages PCacheStorage;
|
|
|
|
manages PCacheStreamControl;
|
2014-09-27 03:21:57 +04:00
|
|
|
manages PFileDescriptorSet;
|
2015-03-03 17:51:05 +03:00
|
|
|
manages PMedia;
|
2015-05-29 17:14:14 +03:00
|
|
|
manages PUDPSocket;
|
|
|
|
manages PVsync;
|
2013-11-27 11:59:41 +04:00
|
|
|
|
|
|
|
parent:
|
|
|
|
// Only called at startup during mochitests to check the basic infrastructure.
|
|
|
|
PBackgroundTest(nsCString testArg);
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2014-10-16 08:56:52 +04:00
|
|
|
PBackgroundIDBFactory(LoggingInfo loggingInfo);
|
2014-09-27 03:21:57 +04:00
|
|
|
|
2015-01-14 02:37:00 +03:00
|
|
|
PVsync();
|
2015-03-03 17:51:05 +03:00
|
|
|
PMedia();
|
2015-01-14 02:37:00 +03:00
|
|
|
|
2015-05-29 17:14:14 +03:00
|
|
|
PUDPSocket(OptionalPrincipalInfo pInfo, nsCString filter);
|
2015-04-01 14:41:29 +03:00
|
|
|
PBroadcastChannel(PrincipalInfo pInfo, nsString origin, nsString channel,
|
|
|
|
bool privateBrowsing);
|
2015-01-15 19:58:40 +03:00
|
|
|
|
2015-06-05 14:07:51 +03:00
|
|
|
RegisterServiceWorker(ServiceWorkerRegistrationData data);
|
|
|
|
UnregisterServiceWorker(PrincipalInfo principalInfo,
|
|
|
|
nsString scope);
|
2015-02-11 14:53:00 +03:00
|
|
|
ShutdownServiceWorkerRegistrar();
|
|
|
|
|
2015-03-02 16:20:00 +03:00
|
|
|
PCacheStorage(Namespace aNamespace, PrincipalInfo aPrincipalInfo);
|
|
|
|
|
|
|
|
child:
|
|
|
|
PCache();
|
|
|
|
PCacheStreamControl();
|
|
|
|
|
2014-09-27 03:21:57 +04:00
|
|
|
both:
|
|
|
|
PBlob(BlobConstructorParams params);
|
|
|
|
|
|
|
|
PFileDescriptorSet(FileDescriptor fd);
|
2013-11-27 11:59:41 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace ipc
|
|
|
|
} // namespace mozilla
|