Bug 1660470 - Avoid including ErrorIPCUtils.h from header files. r=nika

Differential Revision: https://phabricator.services.mozilla.com/D93243

Depends on D93242
This commit is contained in:
Simon Giesecke 2020-11-23 16:04:28 +00:00
parent 394f4c2966
commit 252f99be51
4 changed files with 10 additions and 3 deletions

View File

@ -11,7 +11,9 @@ include protocol PParentToChildStream;
include CacheTypes;
using moveonly mozilla::ErrorResult from "ipc/ErrorIPCUtils.h";
include "ipc/ErrorIPCUtils.h";
using moveonly mozilla::ErrorResult from "mozilla/ErrorResult.h";
namespace mozilla {
namespace dom {

View File

@ -9,6 +9,7 @@ include IPCServiceWorkerDescriptor;
include ProtocolTypes;
include "mozilla/dom/ClientIPCUtils.h";
include "ipc/ErrorIPCUtils.h";
using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
using ClientType from "mozilla/dom/ClientsBinding.h";
@ -16,7 +17,7 @@ using FrameType from "mozilla/dom/ClientBinding.h";
using mozilla::StorageAccess from "mozilla/StorageAccess.h";
using VisibilityState from "mozilla/dom/DocumentBinding.h";
using CallerType from "mozilla/dom/BindingIPCUtils.h";
using mozilla::CopyableErrorResult from "ipc/ErrorIPCUtils.h";
using mozilla::CopyableErrorResult from "mozilla/ErrorResult.h";
namespace mozilla {
namespace dom {

View File

@ -5,8 +5,10 @@
include PBackgroundSharedTypes;
include IPCServiceWorkerDescriptor;
include "ipc/ErrorIPCUtils.h";
using ServiceWorkerUpdateViaCache from "mozilla/dom/ServiceWorkerIPCUtils.h";
using mozilla::CopyableErrorResult from "ipc/ErrorIPCUtils.h";
using mozilla::CopyableErrorResult from "mozilla/ErrorResult.h";
namespace mozilla {
namespace dom {

View File

@ -6,6 +6,8 @@ include protocol PBackground;
include IPCServiceWorkerRegistrationDescriptor;
include "ipc/ErrorIPCUtils.h";
namespace mozilla {
namespace dom {