Bug 1626555 - Add dom/serviceworkers to the list of non-unified-build-compatible directories. r=sg

Differential Revision: https://phabricator.services.mozilla.com/D96441
This commit is contained in:
Andi-Bogdan Postelnicu 2020-11-10 11:55:00 +00:00
parent efbd2d64af
commit d81fefc9bc
24 changed files with 49 additions and 2 deletions

View File

@ -52,4 +52,5 @@ dom/reporting/
dom/res/
dom/script/
dom/security/
dom/serviceworkers/
dom/simpledb/

View File

@ -18,6 +18,9 @@
#include "mozilla/ResultExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/Unused.h"
#include "mozilla/dom/InternalResponse.h"
#include "mozilla/dom/PRemoteWorkerParent.h"
#include "mozilla/dom/PRemoteWorkerControllerParent.h"
#include "mozilla/dom/FetchEventOpParent.h"
#include "mozilla/ipc/BackgroundParent.h"
#include "mozilla/ipc/IPCStreamUtils.h"

View File

@ -7,6 +7,8 @@
#include "RemoteServiceWorkerRegistrationImpl.h"
#include "ServiceWorkerRegistrationChild.h"
#include "mozilla/ipc/PBackgroundChild.h"
#include "mozilla/ipc/BackgroundChild.h"
namespace mozilla {
namespace dom {
@ -109,8 +111,8 @@ void RemoteServiceWorkerRegistrationImpl::Unregister(
RemoteServiceWorkerRegistrationImpl::RemoteServiceWorkerRegistrationImpl(
const ServiceWorkerRegistrationDescriptor& aDescriptor)
: mOuter(nullptr), mShutdown(false) {
PBackgroundChild* parentActor =
BackgroundChild::GetOrCreateForCurrentThread();
::mozilla::ipc::PBackgroundChild* parentActor =
::mozilla::ipc::BackgroundChild::GetOrCreateForCurrentThread();
if (NS_WARN_IF(!parentActor)) {
Shutdown();
return;

View File

@ -24,6 +24,7 @@
#include "mozilla/dom/WorkerPrivate.h"
#include "mozilla/StaticPrefs_dom.h"
#include "mozilla/StorageAccess.h"
#include "nsGlobalWindowInner.h"
#ifdef XP_WIN
# undef PostMessage

View File

@ -12,6 +12,7 @@
#include "ServiceWorkerParent.h"
#include "ServiceWorkerRegistrationChild.h"
#include "ServiceWorkerRegistrationParent.h"
#include "mozilla/dom/WorkerRef.h"
namespace mozilla {
namespace dom {

View File

@ -5,6 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ServiceWorkerChild.h"
#include "RemoteServiceWorkerImpl.h"
#include "mozilla/dom/WorkerRef.h"
namespace mozilla {

View File

@ -6,6 +6,7 @@
#include "ServiceWorkerCloneData.h"
#include "mozilla/dom/DOMTypes.h"
#include "nsProxyRelease.h"
namespace mozilla {

View File

@ -9,9 +9,18 @@
#include "mozilla/dom/ipc/StructuredCloneData.h"
class nsISerialEventTarget;
namespace mozilla {
namespace ipc {
class PBackgroundChild;
class PBackgroundParent;
} // namespace ipc
namespace dom {
class ClonedOrErrorMessageData;
// Helper class used to pack structured clone data so that it can be
// passed across thread and process boundaries. Currently the raw
// StructuredCloneData and StructureCloneHolder APIs both make it

View File

@ -8,6 +8,7 @@
#include "mozilla/dom/WorkerRef.h"
#include "RemoteServiceWorkerContainerImpl.h"
#include "ServiceWorkerContainerChild.h"
namespace mozilla {
namespace dom {

View File

@ -6,8 +6,11 @@
#include "ServiceWorkerContainerImpl.h"
#include "ServiceWorkerManager.h"
#include "ServiceWorkerRegistration.h"
#include "mozilla/dom/DOMMozPromiseRequestHolder.h"
namespace mozilla {
namespace dom {

View File

@ -6,7 +6,10 @@
#include "ServiceWorkerContainerProxy.h"
#include "mozilla/dom/ServiceWorkerContainerParent.h"
#include "mozilla/dom/ServiceWorkerManager.h"
#include "mozilla/ipc/BackgroundParent.h"
#include "mozilla/SchedulerGroup.h"
namespace mozilla {
namespace dom {

View File

@ -7,6 +7,9 @@
#ifndef moz_dom_ServiceWorkerContainerProxy_h
#define moz_dom_ServiceWorkerContainerProxy_h
#include "mozilla/dom/ServiceWorkerUtils.h"
#include "mozilla/RefPtr.h"
namespace mozilla {
namespace dom {

View File

@ -7,6 +7,7 @@
#include "ServiceWorkerImpl.h"
#include "ServiceWorkerInfo.h"
#include "ServiceWorkerRegistrationInfo.h"
namespace mozilla {
namespace dom {

View File

@ -6,6 +6,7 @@
#include "ServiceWorkerInfo.h"
#include "ServiceWorkerUtils.h"
#include "ServiceWorkerPrivate.h"
#include "ServiceWorkerScriptCache.h"
#include "mozilla/dom/ClientIPCTypes.h"

View File

@ -7,6 +7,7 @@
#include "ServiceWorkerManagerParent.h"
#include "ServiceWorkerManagerService.h"
#include "ServiceWorkerUpdaterParent.h"
#include "ServiceWorkerUtils.h"
#include "mozilla/dom/ContentParent.h"
#include "mozilla/dom/ServiceWorkerRegistrar.h"
#include "mozilla/ipc/BackgroundParent.h"

View File

@ -8,6 +8,7 @@
#include "ServiceWorkerManagerParent.h"
#include "ServiceWorkerRegistrar.h"
#include "ServiceWorkerUpdaterParent.h"
#include "ServiceWorkerUtils.h"
#include "mozilla/dom/ContentParent.h"
#include "mozilla/ipc/BackgroundParent.h"
#include "mozilla/Unused.h"

View File

@ -47,6 +47,7 @@
#include "mozilla/net/CookieJarSettings.h"
#include "mozilla/net/NeckoChannelParams.h"
#include "mozilla/Services.h"
#include "mozilla/Telemetry.h"
#include "mozilla/DebugOnly.h"
#include "mozilla/StaticPrefs_dom.h"
#include "mozilla/Unused.h"

View File

@ -22,11 +22,14 @@
#include "nsIURI.h"
#include "nsIUploadChannel2.h"
#include "nsThreadUtils.h"
#include "nsICacheInfoChannel.h"
#include "ServiceWorkerCloneData.h"
#include "ServiceWorkerManager.h"
#include "ServiceWorkerRegistrationInfo.h"
#include "mozilla/Assertions.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/ipc/PBackgroundChild.h"
#include "mozilla/Maybe.h"
#include "mozilla/Result.h"
#include "mozilla/ResultExtensions.h"

View File

@ -5,8 +5,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ServiceWorkerProxy.h"
#include "ServiceWorkerCloneData.h"
#include "ServiceWorkerManager.h"
#include "ServiceWorkerParent.h"
#include "mozilla/SchedulerGroup.h"
#include "mozilla/dom/ClientState.h"
#include "mozilla/ipc/BackgroundParent.h"
#include "ServiceWorkerInfo.h"

View File

@ -13,6 +13,7 @@
namespace mozilla {
namespace dom {
class ClientState;
class ServiceWorkerCloneData;
class ServiceWorkerInfo;
class ServiceWorkerParent;

View File

@ -7,6 +7,7 @@
#include "ServiceWorkerRegistrationImpl.h"
#include "ipc/ErrorIPCUtils.h"
#include "mozilla/dom/DOMMozPromiseRequestHolder.h"
#include "mozilla/dom/Promise.h"
#include "mozilla/dom/PromiseWorkerProxy.h"
#include "mozilla/dom/PushManagerBinding.h"

View File

@ -7,6 +7,8 @@
#ifndef mozilla_dom_ServiceWorkerScriptCache_h
#define mozilla_dom_ServiceWorkerScriptCache_h
#include "nsIRequest.h"
#include "nsISupportsImpl.h"
#include "nsString.h"
class nsILoadGroup;

View File

@ -6,6 +6,7 @@
#include "ServiceWorkerUpdateJob.h"
#include "mozilla/Telemetry.h"
#include "nsIScriptError.h"
#include "nsIURL.h"
#include "nsNetUtil.h"

View File

@ -5,6 +5,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ServiceWorkerUpdaterChild.h"
#include "ServiceWorkerUtils.h"
#include "nsThreadUtils.h"
namespace mozilla {