diff --git a/docshell/base/ChromeBrowsingContext.cpp b/docshell/base/ChromeBrowsingContext.cpp index 283cf167465e..f79bcd032bf7 100644 --- a/docshell/base/ChromeBrowsingContext.cpp +++ b/docshell/base/ChromeBrowsingContext.cpp @@ -6,8 +6,6 @@ #include "ChromeBrowsingContext.h" -#include "mozilla/dom/ContentParent.h" - namespace mozilla { namespace dom { diff --git a/dom/asmjscache/AsmJSCache.cpp b/dom/asmjscache/AsmJSCache.cpp index 52468fb4fdab..a1f152065d32 100644 --- a/dom/asmjscache/AsmJSCache.cpp +++ b/dom/asmjscache/AsmJSCache.cpp @@ -15,7 +15,6 @@ #include "mozilla/CycleCollectedJSRuntime.h" #include "mozilla/dom/asmjscache/PAsmJSCacheEntryChild.h" #include "mozilla/dom/asmjscache/PAsmJSCacheEntryParent.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/PermissionMessageUtils.h" #include "mozilla/dom/quota/Client.h" #include "mozilla/dom/quota/QuotaManager.h" diff --git a/dom/base/ChromeUtils.cpp b/dom/base/ChromeUtils.cpp index f83b2a5deefa..381339ab4cea 100644 --- a/dom/base/ChromeUtils.cpp +++ b/dom/base/ChromeUtils.cpp @@ -18,7 +18,6 @@ #include "mozilla/Preferences.h" #include "mozilla/TimeStamp.h" #include "mozilla/dom/BrowsingContext.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/IdleDeadline.h" #include "mozilla/dom/UnionTypes.h" #include "mozilla/dom/WindowBinding.h" // For IdleRequestCallback/Options diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp index f3fde2be11d6..8396eef24bc8 100644 --- a/dom/base/Navigator.cpp +++ b/dom/base/Navigator.cpp @@ -93,7 +93,6 @@ #if defined(XP_LINUX) #include "mozilla/Hal.h" #endif -#include "mozilla/dom/ContentChild.h" #include "mozilla/EMEUtils.h" #include "mozilla/DetailedPromise.h" diff --git a/dom/base/TabGroup.cpp b/dom/base/TabGroup.cpp index bce06ea91b8a..ff402c9ed3da 100644 --- a/dom/base/TabGroup.cpp +++ b/dom/base/TabGroup.cpp @@ -6,7 +6,7 @@ #include "mozilla/dom/TabGroup.h" -#include "mozilla/dom/ContentChild.h" +#include "mozilla/dom/nsIContentChild.h" #include "mozilla/dom/TabChild.h" #include "mozilla/dom/DocGroup.h" #include "mozilla/dom/TimeoutManager.h" diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp index b01a8b37e2f2..fabaff7f9e1d 100644 --- a/dom/base/nsDocument.cpp +++ b/dom/base/nsDocument.cpp @@ -62,6 +62,7 @@ #include "mozilla/dom/Attr.h" #include "mozilla/dom/BindingDeclarations.h" +#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/Event.h" #include "mozilla/dom/FeaturePolicy.h" diff --git a/dom/cache/CacheStorageParent.cpp b/dom/cache/CacheStorageParent.cpp index 52f188f3633a..f960ea76bbc4 100644 --- a/dom/cache/CacheStorageParent.cpp +++ b/dom/cache/CacheStorageParent.cpp @@ -7,7 +7,6 @@ #include "mozilla/dom/cache/CacheStorageParent.h" #include "mozilla/Unused.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/cache/ActorUtils.h" #include "mozilla/dom/cache/CacheOpParent.h" #include "mozilla/dom/cache/ManagerId.h" diff --git a/dom/cache/PrincipalVerifier.h b/dom/cache/PrincipalVerifier.h index 1df7792e4481..1f441d31f24f 100644 --- a/dom/cache/PrincipalVerifier.h +++ b/dom/cache/PrincipalVerifier.h @@ -18,6 +18,9 @@ namespace ipc { } // namespace ipc namespace dom { + +class ContentParent; + namespace cache { class ManagerId; diff --git a/dom/canvas/CanvasRenderingContext2D.cpp b/dom/canvas/CanvasRenderingContext2D.cpp index 3c7791029357..37d495760954 100644 --- a/dom/canvas/CanvasRenderingContext2D.cpp +++ b/dom/canvas/CanvasRenderingContext2D.cpp @@ -73,7 +73,6 @@ #include "mozilla/Assertions.h" #include "mozilla/CheckedInt.h" #include "mozilla/DebugOnly.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ImageBitmap.h" #include "mozilla/dom/ImageData.h" #include "mozilla/dom/PBrowserParent.h" diff --git a/dom/clients/manager/ClientManagerService.h b/dom/clients/manager/ClientManagerService.h index 825900701a56..24bdfebd39aa 100644 --- a/dom/clients/manager/ClientManagerService.h +++ b/dom/clients/manager/ClientManagerService.h @@ -15,6 +15,7 @@ namespace dom { class ClientManagerParent; class ClientSourceParent; +class ContentParent; // Define a singleton service to manage client activity throughout the // browser. This service runs on the PBackground thread. To interact diff --git a/dom/events/Clipboard.cpp b/dom/events/Clipboard.cpp index 5d5ef6aa2e26..b6ffee23cab1 100644 --- a/dom/events/Clipboard.cpp +++ b/dom/events/Clipboard.cpp @@ -11,7 +11,6 @@ #include "mozilla/dom/DataTransfer.h" #include "mozilla/dom/DataTransferItemList.h" #include "mozilla/dom/DataTransferItem.h" -#include "mozilla/dom/ContentChild.h" #include "nsIClipboard.h" #include "nsISupportsPrimitives.h" #include "nsComponentManagerUtils.h" diff --git a/dom/html/nsGenericHTMLFrameElement.cpp b/dom/html/nsGenericHTMLFrameElement.cpp index e962df6d795f..4f59da4cd701 100644 --- a/dom/html/nsGenericHTMLFrameElement.cpp +++ b/dom/html/nsGenericHTMLFrameElement.cpp @@ -6,7 +6,6 @@ #include "nsGenericHTMLFrameElement.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/HTMLIFrameElement.h" #include "mozilla/dom/XULFrameElement.h" #include "mozilla/Preferences.h" diff --git a/dom/indexedDB/IDBObjectStore.cpp b/dom/indexedDB/IDBObjectStore.cpp index 4c8e6d606bad..67ab930705f2 100644 --- a/dom/indexedDB/IDBObjectStore.cpp +++ b/dom/indexedDB/IDBObjectStore.cpp @@ -30,8 +30,6 @@ #include "mozilla/Move.h" #include "mozilla/NullPrincipal.h" #include "mozilla/dom/BindingUtils.h" -#include "mozilla/dom/ContentChild.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/DOMStringList.h" #include "mozilla/dom/File.h" #include "mozilla/dom/FileBlobImpl.h" diff --git a/dom/media/MediaManager.cpp b/dom/media/MediaManager.cpp index b773fa7c0c0e..5b08d4aa51ba 100644 --- a/dom/media/MediaManager.cpp +++ b/dom/media/MediaManager.cpp @@ -43,7 +43,6 @@ #include "mozilla/Types.h" #include "mozilla/PeerIdentity.h" #include "mozilla/dom/BindingDeclarations.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/FeaturePolicyUtils.h" #include "mozilla/dom/File.h" diff --git a/dom/media/gmp/GMPServiceChild.h b/dom/media/gmp/GMPServiceChild.h index e537dee05d5d..6bc6224a7da1 100644 --- a/dom/media/gmp/GMPServiceChild.h +++ b/dom/media/gmp/GMPServiceChild.h @@ -9,10 +9,10 @@ #include "GMPService.h" #include "MediaResult.h" #include "base/process.h" +#include "mozilla/dom/PContent.h" #include "mozilla/ipc/Transport.h" #include "mozilla/gmp/PGMPServiceChild.h" #include "nsRefPtrHashtable.h" -#include "mozilla/dom/ContentChild.h" namespace mozilla { namespace gmp { diff --git a/dom/media/ipc/RDDProcessManager.cpp b/dom/media/ipc/RDDProcessManager.cpp index aa85efa8e0c7..64544a89e9d6 100644 --- a/dom/media/ipc/RDDProcessManager.cpp +++ b/dom/media/ipc/RDDProcessManager.cpp @@ -5,10 +5,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "RDDProcessManager.h" +#include "mozilla/MemoryReportingProcess.h" #include "mozilla/RemoteDecoderManagerChild.h" #include "mozilla/RemoteDecoderManagerParent.h" #include "mozilla/StaticPrefs.h" -#include "mozilla/dom/ContentParent.h" #include "nsAppRunner.h" #include "nsContentUtils.h" diff --git a/dom/media/systemservices/CamerasChild.h b/dom/media/systemservices/CamerasChild.h index eed68f5df043..5c6bac19a3b2 100644 --- a/dom/media/systemservices/CamerasChild.h +++ b/dom/media/systemservices/CamerasChild.h @@ -9,7 +9,6 @@ #include "mozilla/Move.h" #include "mozilla/Pair.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/camera/PCamerasChild.h" #include "mozilla/camera/PCamerasParent.h" #include "mozilla/media/DeviceChangeCallback.h" diff --git a/dom/media/systemservices/CamerasParent.h b/dom/media/systemservices/CamerasParent.h index 429c458918d8..cc73eeffa973 100644 --- a/dom/media/systemservices/CamerasParent.h +++ b/dom/media/systemservices/CamerasParent.h @@ -9,7 +9,6 @@ #include "nsIObserver.h" #include "VideoEngine.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/camera/PCamerasParent.h" #include "mozilla/ipc/Shmem.h" #include "mozilla/ShmemPool.h" diff --git a/dom/media/systemservices/MediaChild.cpp b/dom/media/systemservices/MediaChild.cpp index a326af649847..594c77525754 100644 --- a/dom/media/systemservices/MediaChild.cpp +++ b/dom/media/systemservices/MediaChild.cpp @@ -8,6 +8,7 @@ #include "MediaParent.h" #include "nsGlobalWindow.h" +#include "mozilla/dom/ContentChild.h" #include "mozilla/MediaManager.h" #include "mozilla/Logging.h" #include "nsQueryObject.h" diff --git a/dom/media/systemservices/MediaChild.h b/dom/media/systemservices/MediaChild.h index 2f322654b287..b0ae776cce4f 100644 --- a/dom/media/systemservices/MediaChild.h +++ b/dom/media/systemservices/MediaChild.h @@ -7,7 +7,6 @@ #ifndef mozilla_MediaChild_h #define mozilla_MediaChild_h -#include "mozilla/dom/ContentChild.h" #include "mozilla/media/PMediaChild.h" #include "mozilla/media/PMediaParent.h" #include "MediaUtils.h" diff --git a/dom/media/systemservices/MediaParent.h b/dom/media/systemservices/MediaParent.h index ebf82263a8d3..67a6934847f3 100644 --- a/dom/media/systemservices/MediaParent.h +++ b/dom/media/systemservices/MediaParent.h @@ -9,7 +9,6 @@ #include "MediaChild.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/media/PMediaParent.h" namespace mozilla { diff --git a/dom/media/webspeech/synth/SpeechSynthesis.cpp b/dom/media/webspeech/synth/SpeechSynthesis.cpp index b11a6cf6b72a..5cf6bdd9bd79 100644 --- a/dom/media/webspeech/synth/SpeechSynthesis.cpp +++ b/dom/media/webspeech/synth/SpeechSynthesis.cpp @@ -8,7 +8,6 @@ #include "nsSpeechTask.h" #include "mozilla/Logging.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/SpeechSynthesisBinding.h" diff --git a/dom/network/TCPServerSocketParent.cpp b/dom/network/TCPServerSocketParent.cpp index ff693876730d..6d2f1d68d3b1 100644 --- a/dom/network/TCPServerSocketParent.cpp +++ b/dom/network/TCPServerSocketParent.cpp @@ -10,7 +10,6 @@ #include "nsJSUtils.h" #include "TCPSocketParent.h" #include "mozilla/Unused.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" namespace mozilla { diff --git a/dom/network/TCPSocketParent.cpp b/dom/network/TCPSocketParent.cpp index 5e220ddba659..141308649f46 100644 --- a/dom/network/TCPSocketParent.cpp +++ b/dom/network/TCPSocketParent.cpp @@ -11,7 +11,6 @@ #include "mozilla/Unused.h" #include "mozilla/net/NeckoCommon.h" #include "mozilla/net/PNeckoParent.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ScriptSettings.h" #include "mozilla/dom/TabParent.h" #include "mozilla/HoldDropJSObjects.h" diff --git a/dom/network/UDPSocketParent.cpp b/dom/network/UDPSocketParent.cpp index 174d1e87b13e..3822d197fc61 100644 --- a/dom/network/UDPSocketParent.cpp +++ b/dom/network/UDPSocketParent.cpp @@ -10,6 +10,7 @@ #include "nsIUDPSocket.h" #include "nsINetAddr.h" #include "mozilla/Unused.h" +#include "mozilla/dom/ContentParent.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/net/DNS.h" #include "mozilla/net/NeckoCommon.h" diff --git a/dom/payments/PaymentRequestManager.cpp b/dom/payments/PaymentRequestManager.cpp index de1409f709b8..8796df615e44 100644 --- a/dom/payments/PaymentRequestManager.cpp +++ b/dom/payments/PaymentRequestManager.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/ClearOnShutdown.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/PaymentRequestChild.h" #include "mozilla/dom/TabChild.h" #include "nsContentUtils.h" diff --git a/dom/plugins/base/nsPluginTags.cpp b/dom/plugins/base/nsPluginTags.cpp index 3b07703f5ab3..546790f412e8 100644 --- a/dom/plugins/base/nsPluginTags.cpp +++ b/dom/plugins/base/nsPluginTags.cpp @@ -19,7 +19,6 @@ #include "nsNetUtil.h" #include #include "mozilla/Encoding.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/FakePluginTagInitBinding.h" #if defined(XP_MACOSX) && defined(MOZ_SANDBOX) diff --git a/dom/serviceworkers/ServiceWorkerManager.h b/dom/serviceworkers/ServiceWorkerManager.h index 7e87ec77ed9b..5423b932bf1f 100644 --- a/dom/serviceworkers/ServiceWorkerManager.h +++ b/dom/serviceworkers/ServiceWorkerManager.h @@ -45,6 +45,7 @@ class PrincipalInfo; namespace dom { +class ContentParent; class ServiceWorkerInfo; class ServiceWorkerJobQueue; class ServiceWorkerManagerChild; diff --git a/dom/storage/LocalStorage.cpp b/dom/storage/LocalStorage.cpp index 609c3bec8b09..49cf6c96f957 100644 --- a/dom/storage/LocalStorage.cpp +++ b/dom/storage/LocalStorage.cpp @@ -15,8 +15,6 @@ #include "nsIPrincipal.h" #include "nsICookiePermission.h" -#include "mozilla/dom/ContentChild.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/PermissionMessageUtils.h" #include "mozilla/dom/StorageBinding.h" #include "mozilla/dom/StorageEvent.h" diff --git a/dom/storage/StorageIPC.cpp b/dom/storage/StorageIPC.cpp index 8a02f8b4ddd0..54bcaab64269 100644 --- a/dom/storage/StorageIPC.cpp +++ b/dom/storage/StorageIPC.cpp @@ -8,8 +8,6 @@ #include "LocalStorageManager.h" -#include "mozilla/dom/ContentChild.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/BackgroundParent.h" #include "mozilla/ipc/PBackgroundChild.h" diff --git a/dom/system/android/nsHapticFeedback.cpp b/dom/system/android/nsHapticFeedback.cpp index 4cf01aaa38da..9e005539d81b 100644 --- a/dom/system/android/nsHapticFeedback.cpp +++ b/dom/system/android/nsHapticFeedback.cpp @@ -4,7 +4,6 @@ * 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/dom/ContentChild.h" #include "nsHapticFeedback.h" #include "GeneratedJNIWrappers.h" diff --git a/dom/webbrowserpersist/WebBrowserPersistResourcesChild.cpp b/dom/webbrowserpersist/WebBrowserPersistResourcesChild.cpp index 75c5be355e56..862f456853f4 100644 --- a/dom/webbrowserpersist/WebBrowserPersistResourcesChild.cpp +++ b/dom/webbrowserpersist/WebBrowserPersistResourcesChild.cpp @@ -7,7 +7,6 @@ #include "WebBrowserPersistResourcesChild.h" #include "WebBrowserPersistDocumentChild.h" -#include "mozilla/dom/ContentChild.h" namespace mozilla { diff --git a/extensions/cookie/nsPermissionManager.cpp b/extensions/cookie/nsPermissionManager.cpp index b6436e113f7b..5617f6877091 100644 --- a/extensions/cookie/nsPermissionManager.cpp +++ b/extensions/cookie/nsPermissionManager.cpp @@ -9,7 +9,6 @@ #include "mozilla/DebugOnly.h" #include "mozilla/dom/ContentParent.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/BasePrincipal.h" #include "mozilla/ContentPrincipal.h" #include "mozilla/Pair.h" diff --git a/gfx/layers/ipc/CompositorBridgeParent.cpp b/gfx/layers/ipc/CompositorBridgeParent.cpp index bec879584d7a..d13a17847d72 100644 --- a/gfx/layers/ipc/CompositorBridgeParent.cpp +++ b/gfx/layers/ipc/CompositorBridgeParent.cpp @@ -28,7 +28,6 @@ #include "mozilla/AutoRestore.h" // for AutoRestore #include "mozilla/ClearOnShutdown.h" // for ClearOnShutdown #include "mozilla/DebugOnly.h" // for DebugOnly -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" #include "mozilla/gfx/2D.h" // for DrawTarget #include "mozilla/gfx/GPUChild.h" // for GfxPrefValue diff --git a/gfx/layers/ipc/LayerTreeOwnerTracker.cpp b/gfx/layers/ipc/LayerTreeOwnerTracker.cpp index 5c7bc21b5e0d..8c735a49d9b6 100644 --- a/gfx/layers/ipc/LayerTreeOwnerTracker.cpp +++ b/gfx/layers/ipc/LayerTreeOwnerTracker.cpp @@ -7,7 +7,6 @@ #include "LayerTreeOwnerTracker.h" #include "mozilla/StaticPtr.h" // for StaticAutoPtr -#include "mozilla/dom/ContentParent.h" // for ContentParent #include "mozilla/gfx/GPUChild.h" // for GPUChild #include "mozilla/gfx/GPUProcessManager.h" // for GPUProcessManager diff --git a/gfx/layers/ipc/RemoteContentController.cpp b/gfx/layers/ipc/RemoteContentController.cpp index 432c32dbd991..1fd7846d0db4 100644 --- a/gfx/layers/ipc/RemoteContentController.cpp +++ b/gfx/layers/ipc/RemoteContentController.cpp @@ -9,7 +9,6 @@ #include "base/message_loop.h" #include "base/task.h" #include "MainThreadUtils.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" #include "mozilla/layers/APZCCallbackHelper.h" #include "mozilla/layers/APZCTreeManagerParent.h" // for APZCTreeManagerParent diff --git a/gfx/thebes/gfxAndroidPlatform.cpp b/gfx/thebes/gfxAndroidPlatform.cpp index 8ccf736fe879..e4daa70a56e5 100644 --- a/gfx/thebes/gfxAndroidPlatform.cpp +++ b/gfx/thebes/gfxAndroidPlatform.cpp @@ -17,7 +17,6 @@ #include "gfxFT2FontList.h" #include "gfxImageSurface.h" #include "gfxTextRun.h" -#include "mozilla/dom/ContentChild.h" #include "nsXULAppAPI.h" #include "nsIScreen.h" #include "nsIScreenManager.h" diff --git a/gfx/thebes/gfxDWriteFonts.cpp b/gfx/thebes/gfxDWriteFonts.cpp index 63711acfaf6b..9184aa6389f1 100644 --- a/gfx/thebes/gfxDWriteFonts.cpp +++ b/gfx/thebes/gfxDWriteFonts.cpp @@ -13,7 +13,6 @@ #include "harfbuzz/hb.h" #include "mozilla/FontPropertyTypes.h" -#include "mozilla/dom/ContentParent.h" #include "cairo-win32.h" using namespace mozilla; diff --git a/hal/HalWakeLock.cpp b/hal/HalWakeLock.cpp index 85fe9599f76a..2001ec4b3626 100644 --- a/hal/HalWakeLock.cpp +++ b/hal/HalWakeLock.cpp @@ -8,7 +8,6 @@ #include "mozilla/HalWakeLock.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" -#include "mozilla/dom/ContentParent.h" #include "nsAutoPtr.h" #include "nsClassHashtable.h" #include "nsDataHashtable.h" diff --git a/hal/sandbox/SandboxHal.cpp b/hal/sandbox/SandboxHal.cpp index fb88683961c6..7b32ce91ade3 100644 --- a/hal/sandbox/SandboxHal.cpp +++ b/hal/sandbox/SandboxHal.cpp @@ -7,7 +7,6 @@ #include "Hal.h" #include "HalLog.h" #include "mozilla/dom/ContentChild.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/hal_sandbox/PHalChild.h" #include "mozilla/hal_sandbox/PHalParent.h" #include "mozilla/dom/TabParent.h" diff --git a/ipc/glue/ProtocolUtils.cpp b/ipc/glue/ProtocolUtils.cpp index ad1d2ba3b7bc..8ccd4b43f758 100644 --- a/ipc/glue/ProtocolUtils.cpp +++ b/ipc/glue/ProtocolUtils.cpp @@ -15,7 +15,6 @@ #include "mozilla/ipc/ProtocolUtils.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/ipc/MessageChannel.h" #include "mozilla/ipc/Transport.h" #include "mozilla/recordreplay/ChildIPC.h" diff --git a/ipc/mscom/Interceptor.cpp b/ipc/mscom/Interceptor.cpp index 734601978cf3..2aeef045222a 100644 --- a/ipc/mscom/Interceptor.cpp +++ b/ipc/mscom/Interceptor.cpp @@ -6,7 +6,6 @@ #define INITGUID -#include "mozilla/dom/ContentChild.h" #include "mozilla/Move.h" #include "mozilla/mscom/DispatchForwarder.h" #include "mozilla/mscom/FastMarshaler.h" diff --git a/ipc/testshell/TestShellParent.cpp b/ipc/testshell/TestShellParent.cpp index 31b01524a375..830e44a2a345 100644 --- a/ipc/testshell/TestShellParent.cpp +++ b/ipc/testshell/TestShellParent.cpp @@ -8,7 +8,6 @@ #include "jsfriendapi.h" #include "mozilla/ArrayUtils.h" -#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ScriptSettings.h" #include "xpcpublic.h" diff --git a/js/ipc/JavaScriptChild.cpp b/js/ipc/JavaScriptChild.cpp index 076c69827949..65f7777563d7 100644 --- a/js/ipc/JavaScriptChild.cpp +++ b/js/ipc/JavaScriptChild.cpp @@ -6,7 +6,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "JavaScriptChild.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/ipc/MessageChannel.h" #include "nsContentUtils.h" diff --git a/js/ipc/WrapperAnswer.cpp b/js/ipc/WrapperAnswer.cpp index 2005bda4174c..009ad6e2dbec 100644 --- a/js/ipc/WrapperAnswer.cpp +++ b/js/ipc/WrapperAnswer.cpp @@ -7,7 +7,6 @@ #include "WrapperAnswer.h" #include "JavaScriptLogging.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/dom/ScriptSettings.h" #include "xpcprivate.h" diff --git a/js/xpconnect/loader/URLPreloader.cpp b/js/xpconnect/loader/URLPreloader.cpp index b0535334a518..3ccbfeb9426d 100644 --- a/js/xpconnect/loader/URLPreloader.cpp +++ b/js/xpconnect/loader/URLPreloader.cpp @@ -31,8 +31,6 @@ #include "nsZipArchive.h" #include "xpcpublic.h" -#include "mozilla/dom/ContentChild.h" - #undef DELAYED_STARTUP_TOPIC #define DELAYED_STARTUP_TOPIC "sessionstore-windows-restored" diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp index c28a5cd6afa3..f92319e9dc73 100644 --- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -20,7 +20,6 @@ #include "mozilla/Likely.h" #include "mozilla/Maybe.h" #include "mozilla/MemoryReporting.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/ServoStyleSetInlines.h" #include "mozilla/StaticPrefs.h" #include "mozilla/Unused.h" diff --git a/mobile/android/components/geckoview/GeckoViewHistory.cpp b/mobile/android/components/geckoview/GeckoViewHistory.cpp index 1b23d53f5d58..633805513834 100644 --- a/mobile/android/components/geckoview/GeckoViewHistory.cpp +++ b/mobile/android/components/geckoview/GeckoViewHistory.cpp @@ -11,7 +11,6 @@ #include "mozilla/ClearOnShutdown.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/Link.h" diff --git a/netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp b/netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp index 58119ed5d2d7..fbd793470218 100644 --- a/netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp +++ b/netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp @@ -15,6 +15,7 @@ #include "nsIURI.h" #include "nsIURIMutator.h" +#include "mozilla/dom/ContentChild.h" #include "mozilla/net/NeckoChild.h" using namespace mozilla::net; diff --git a/security/manager/ssl/DataStorage.cpp b/security/manager/ssl/DataStorage.cpp index fcaefeb7dc10..4ac04714d8a3 100644 --- a/security/manager/ssl/DataStorage.cpp +++ b/security/manager/ssl/DataStorage.cpp @@ -9,7 +9,6 @@ #include "mozilla/Assertions.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/dom/PContent.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" diff --git a/toolkit/recordreplay/ipc/ChildIPC.cpp b/toolkit/recordreplay/ipc/ChildIPC.cpp index c52c8f0f9a2d..f1db1f93bb60 100644 --- a/toolkit/recordreplay/ipc/ChildIPC.cpp +++ b/toolkit/recordreplay/ipc/ChildIPC.cpp @@ -15,7 +15,6 @@ #include "chrome/common/mach_ipc_mac.h" #include "ipc/Channel.h" #include "mac/handler/exception_handler.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/layers/ImageDataSerializer.h" #include "mozilla/Sprintf.h" #include "mozilla/VsyncDispatcher.h" diff --git a/toolkit/recordreplay/ipc/ParentIPC.h b/toolkit/recordreplay/ipc/ParentIPC.h index 4c7f47b6f661..6b7e9d28f481 100644 --- a/toolkit/recordreplay/ipc/ParentIPC.h +++ b/toolkit/recordreplay/ipc/ParentIPC.h @@ -8,7 +8,6 @@ #define mozilla_recordreplay_ParentIPC_h #include "base/shared_memory.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/ipc/MessageChannel.h" #include "mozilla/ipc/ProcessChild.h" #include "mozilla/ipc/ProtocolUtils.h" diff --git a/uriloader/exthandler/nsExternalProtocolHandler.cpp b/uriloader/exthandler/nsExternalProtocolHandler.cpp index ee3b34fd4431..02ec7d5fada9 100644 --- a/uriloader/exthandler/nsExternalProtocolHandler.cpp +++ b/uriloader/exthandler/nsExternalProtocolHandler.cpp @@ -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/dom/ContentChild.h" #include "nsIURI.h" #include "nsIURL.h" #include "nsExternalProtocolHandler.h" diff --git a/widget/GfxInfoBase.cpp b/widget/GfxInfoBase.cpp index 781c906b1350..55a1017acec0 100644 --- a/widget/GfxInfoBase.cpp +++ b/widget/GfxInfoBase.cpp @@ -23,7 +23,6 @@ #include "nsXULAppAPI.h" #include "nsIXULAppInfo.h" #include "mozilla/Preferences.h" -#include "mozilla/dom/ContentChild.h" #include "mozilla/gfx/2D.h" #include "mozilla/gfx/GPUProcessManager.h" #include "mozilla/gfx/Logging.h" diff --git a/widget/android/AndroidBridge.cpp b/widget/android/AndroidBridge.cpp index c6637bd026f4..3d193f8862c2 100644 --- a/widget/android/AndroidBridge.cpp +++ b/widget/android/AndroidBridge.cpp @@ -44,7 +44,6 @@ #include "mozilla/TimeStamp.h" #include "mozilla/UniquePtr.h" -#include "mozilla/dom/ContentChild.h" #include "nsIObserverService.h" #include "nsISupportsPrimitives.h" #include "WidgetUtils.h" diff --git a/widget/android/GeckoEditableSupport.cpp b/widget/android/GeckoEditableSupport.cpp index 878658e1da84..9d8d917caf74 100644 --- a/widget/android/GeckoEditableSupport.cpp +++ b/widget/android/GeckoEditableSupport.cpp @@ -11,6 +11,7 @@ #include "PuppetWidget.h" #include "nsIContent.h" +#include "mozilla/dom/ContentChild.h" #include "mozilla/IMEStateManager.h" #include "mozilla/Preferences.h" #include "mozilla/TextComposition.h" diff --git a/widget/windows/PDFiumProcessChild.cpp b/widget/windows/PDFiumProcessChild.cpp index dd6f2ae85411..88dff6c67481 100644 --- a/widget/windows/PDFiumProcessChild.cpp +++ b/widget/windows/PDFiumProcessChild.cpp @@ -7,8 +7,6 @@ #include "mozilla/ipc/IOThreadChild.h" #include "mozilla/BackgroundHangMonitor.h" -#include "mozilla/dom/ContentChild.h" -#include "mozilla/dom/ContentParent.h" #if defined(MOZ_SANDBOX) #include "mozilla/sandboxTarget.h" #endif