mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1660470 - Include C++ header files only from cpp file. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93233 Depends on D87865
This commit is contained in:
parent
971b645fe3
commit
93dd261db8
@ -69,6 +69,8 @@ include LookAndFeelTypes;
|
||||
include protocol PSandboxTesting;
|
||||
#endif
|
||||
|
||||
include "mozilla/AntiTrackingIPCUtils.h";
|
||||
|
||||
using refcounted class nsIDOMGeoPosition from "nsGeoPositionIPCSerialiser.h";
|
||||
using refcounted class nsIAlertNotification from "mozilla/AlertNotificationIPCSerializer.h";
|
||||
|
||||
|
@ -7,6 +7,7 @@ include protocol PTexture;
|
||||
include protocol PRemoteDecoder;
|
||||
include LayersSurfaces;
|
||||
include "mozilla/dom/MediaIPCUtils.h";
|
||||
include "mozilla/layers/LayersMessageUtils.h";
|
||||
|
||||
using VideoInfo from "MediaInfo.h";
|
||||
using AudioInfo from "MediaInfo.h";
|
||||
|
@ -22,6 +22,8 @@ include protocol PRemoteDecoderManager;
|
||||
include protocol PSandboxTesting;
|
||||
#endif
|
||||
|
||||
include "mozilla/layers/LayersMessageUtils.h";
|
||||
|
||||
using base::ProcessId from "base/process.h";
|
||||
using mozilla::dom::NativeThreadId from "mozilla/dom/NativeThreadId.h";
|
||||
using mozilla::Telemetry::HistogramAccumulation from "mozilla/TelemetryComms.h";
|
||||
|
@ -4,6 +4,8 @@
|
||||
* 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/. */
|
||||
|
||||
include "mozilla/layers/LayersMessageUtils.h";
|
||||
|
||||
using mozilla::CrossProcessSemaphoreHandle from "mozilla/ipc/CrossProcessSemaphore.h";
|
||||
using mozilla::layers::TextureType from "mozilla/layers/LayersTypes.h";
|
||||
using mozilla::ipc::SharedMemoryBasic::Handle from "mozilla/ipc/SharedMemoryBasic.h";
|
||||
|
@ -5,6 +5,7 @@
|
||||
* 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/. */
|
||||
|
||||
include "mozilla/layers/LayersMessageUtils.h";
|
||||
include "mozilla/layers/WebRenderMessageUtils.h";
|
||||
|
||||
include LayersSurfaces;
|
||||
|
@ -65,6 +65,7 @@ include RemoteWorkerTypes;
|
||||
include MIDITypes;
|
||||
|
||||
include "mozilla/dom/cache/IPCUtils.h";
|
||||
include "mozilla/dom/quota/SerializationHelpers.h";
|
||||
include "mozilla/layers/LayersMessageUtils.h";
|
||||
|
||||
using mozilla::dom::cache::Namespace
|
||||
|
@ -3591,7 +3591,7 @@ class _GenerateProtocolActorCode(ipdl.ast.Visitor):
|
||||
self.nonForwardDeclaredHeaders.add(using.header)
|
||||
|
||||
def visitCxxInclude(self, inc):
|
||||
self.nonForwardDeclaredHeaders.add(inc.file)
|
||||
self.externalIncludes.add(inc.file)
|
||||
|
||||
def visitInclude(self, inc):
|
||||
ip = inc.tu.protocol
|
||||
|
Loading…
Reference in New Issue
Block a user