mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1671641 - Make dom/ipc
buildable outside of unified-build
environment. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D94964
This commit is contained in:
parent
ff39a7b9a1
commit
f01b2a6215
@ -29,6 +29,7 @@ dom/html/
|
||||
dom/imptests/
|
||||
dom/indexedDB/
|
||||
dom/interfaces/
|
||||
dom/ipc/
|
||||
dom/localstorage/
|
||||
dom/quota/
|
||||
dom/simpledb/
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include "mozilla/dom/BrowserBridgeHost.h"
|
||||
|
||||
#include "mozilla/Unused.h"
|
||||
#include "nsFrameLoader.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "mozilla/Unused.h"
|
||||
#include "mozilla/dom/CancelContentJSOptionsBinding.h"
|
||||
#include "mozilla/dom/ContentParent.h"
|
||||
#include "mozilla/dom/WindowGlobalParent.h"
|
||||
|
||||
#include "nsIObserverService.h"
|
||||
|
@ -79,6 +79,7 @@
|
||||
#include "nsIXPConnect.h"
|
||||
#include "nsIXULBrowserWindow.h"
|
||||
#include "nsIAppWindow.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsQueryActor.h"
|
||||
#include "nsSHistory.h"
|
||||
#include "nsViewManager.h"
|
||||
|
@ -5,6 +5,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/CSPMessageUtils.h"
|
||||
#include "mozilla/ipc/PBackgroundSharedTypes.h"
|
||||
#include "nsSerializationHelper.h"
|
||||
#include "BackgroundUtils.h"
|
||||
|
||||
@ -21,7 +22,7 @@ void ParamTraits<nsIContentSecurityPolicy*>::Write(
|
||||
}
|
||||
|
||||
CSPInfo csp;
|
||||
Unused << NS_WARN_IF(NS_FAILED(CSPToCSPInfo(aParam, &csp)));
|
||||
mozilla::Unused << NS_WARN_IF(NS_FAILED(CSPToCSPInfo(aParam, &csp)));
|
||||
IPDLParamTraits<CSPInfo>::Write(aMsg, nullptr, csp);
|
||||
}
|
||||
|
||||
|
@ -22,6 +22,9 @@
|
||||
# include "nsDirectoryServiceDefs.h"
|
||||
#endif
|
||||
|
||||
#include "nsAppRunner.h"
|
||||
#include "ProcessUtils.h"
|
||||
|
||||
using mozilla::ipc::IOThreadChild;
|
||||
|
||||
namespace mozilla {
|
||||
@ -169,7 +172,7 @@ bool ContentProcess::Init(int aArgc, char* aArgv[]) {
|
||||
return false;
|
||||
}
|
||||
|
||||
SharedPreferenceDeserializer deserializer;
|
||||
::mozilla::ipc::SharedPreferenceDeserializer deserializer;
|
||||
if (!deserializer.DeserializeFromSharedMemory(prefsHandle, prefMapHandle,
|
||||
prefsLen, prefMapSize)) {
|
||||
return false;
|
||||
|
@ -5,6 +5,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/DocShellMessageUtils.h"
|
||||
#include "mozilla/dom/DOMTypes.h"
|
||||
#include "nsSerializationHelper.h"
|
||||
|
||||
namespace mozilla {
|
||||
@ -20,7 +21,7 @@ void IPDLParamTraits<nsDocShellLoadState*>::Write(IPC::Message* aMsg,
|
||||
bool IPDLParamTraits<nsDocShellLoadState*>::Read(
|
||||
const IPC::Message* aMsg, PickleIterator* aIter, IProtocol* aActor,
|
||||
RefPtr<nsDocShellLoadState>* aResult) {
|
||||
DocShellLoadStateInit loadState;
|
||||
dom::DocShellLoadStateInit loadState;
|
||||
if (!ReadIPDLParam(aMsg, aIter, aActor, &loadState)) {
|
||||
return false;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "mozilla/AutoMemMap.h"
|
||||
#include "mozilla/ResultExtensions.h"
|
||||
#include "mozilla/ipc/FileDescriptor.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "mozilla/dom/BrowsingContext.h"
|
||||
#include "mozilla/ErrorResult.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsRefPtrHashtable.h"
|
||||
#include "nsString.h"
|
||||
#include "mozilla/dom/JSActor.h"
|
||||
#include "mozilla/dom/JSActorManager.h"
|
||||
|
@ -5,6 +5,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "RefMessageBodyService.h"
|
||||
#include "mozilla/dom/ipc/StructuredCloneData.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -17,6 +17,10 @@
|
||||
#include "mozilla/dom/JSWindowActorProtocol.h"
|
||||
#include "mozilla/dom/PopupBlocker.h"
|
||||
#include "mozilla/net/CookieJarSettings.h"
|
||||
#include "mozilla/dom/WindowGlobalChild.h"
|
||||
#include "mozilla/dom/WindowGlobalParent.h"
|
||||
|
||||
#include "nsGlobalWindowInner.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -6,8 +6,11 @@
|
||||
|
||||
#include "mozilla/dom/JSActorManager.h"
|
||||
#include "mozilla/dom/JSActorService.h"
|
||||
#include "mozilla/dom/PWindowGlobal.h"
|
||||
#include "mozilla/ipc/ProtocolUtils.h"
|
||||
#include "mozJSComponentLoader.h"
|
||||
#include "jsapi.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "js/TypeDecls.h"
|
||||
#include "mozilla/dom/JSActor.h"
|
||||
#include "mozilla/ErrorResult.h"
|
||||
#include "nsRefPtrHashtable.h"
|
||||
#include "nsString.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -4,6 +4,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 "mozilla/dom/JSProcessActorBinding.h"
|
||||
#include "mozilla/dom/JSProcessActorChild.h"
|
||||
#include "mozilla/dom/InProcessChild.h"
|
||||
|
@ -6,6 +6,13 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/JSProcessActorProtocol.h"
|
||||
#include "mozilla/dom/InProcessChild.h"
|
||||
#include "mozilla/dom/JSProcessActorBinding.h"
|
||||
#include "mozilla/dom/ContentChild.h"
|
||||
#include "mozilla/dom/ContentParent.h"
|
||||
#include "mozilla/dom/JSActorBinding.h"
|
||||
#include "mozilla/dom/PContent.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include "mozilla/dom/JSWindowActorParent.h"
|
||||
#include "mozilla/dom/BrowserParent.h"
|
||||
#include "mozilla/dom/ContentParent.h"
|
||||
#include "mozilla/dom/WindowGlobalChild.h"
|
||||
#include "mozilla/dom/WindowGlobalParent.h"
|
||||
#include "mozilla/dom/MessageManagerBinding.h"
|
||||
|
||||
|
@ -5,7 +5,17 @@
|
||||
* 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/ContentParent.h"
|
||||
#include "mozilla/dom/Event.h"
|
||||
#include "mozilla/dom/JSActorBinding.h"
|
||||
#include "mozilla/dom/JSActorService.h"
|
||||
#include "mozilla/dom/JSWindowActorBinding.h"
|
||||
#include "mozilla/dom/JSWindowActorChild.h"
|
||||
#include "mozilla/dom/JSWindowActorProtocol.h"
|
||||
#include "mozilla/dom/PContent.h"
|
||||
#include "mozilla/dom/WindowGlobalChild.h"
|
||||
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
Loading…
Reference in New Issue
Block a user