Issue #80 - De-unify dom/network

This commit is contained in:
wolfbeast 2020-04-20 20:06:44 +02:00 committed by Roy Tam
commit 2970ae4c3e
7 changed files with 17 additions and 2 deletions

View file

@ -4,15 +4,18 @@
* 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 "nsIScriptSecurityManager.h"
#include "TCPServerSocket.h"
#include "TCPServerSocketParent.h"
#include "nsIScriptSecurityManager.h"
#include "TCPSocket.h"
#include "TCPServerSocket.h"
#include "nsJSUtils.h"
#include "TCPSocketParent.h"
#include "mozilla/Unused.h"
#include "mozilla/AppProcessChecker.h"
#include "mozilla/dom/ContentParent.h"
#include "mozilla/dom/TabParent.h"
#include "mozilla/dom/TCPServerSocketEvent.h"
namespace mozilla {
namespace dom {

View file

@ -6,7 +6,9 @@
#include "mozilla/ErrorResult.h"
#include "TCPSocket.h"
#include "TCPServerSocket.h"
#include "TCPSocketParent.h"
#include "TCPSocketChild.h"
#include "mozilla/Unused.h"
#include "mozilla/dom/DOMError.h"
#include "mozilla/dom/TCPSocketBinding.h"
#include "mozilla/dom/TCPSocketErrorEvent.h"

View file

@ -5,6 +5,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "TCPSocketParent.h"
#include "TCPSocket.h"
#include "jsapi.h"
#include "jsfriendapi.h"
#include "nsJSUtils.h"

View file

@ -17,6 +17,8 @@
#include "nsINetAddr.h"
#include "nsStringStream.h"
using namespace mozilla::net;
namespace mozilla {
namespace dom {

View file

@ -5,6 +5,8 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "UDPSocketChild.h"
#include "UDPSocket.h"
#include "mozilla/Unused.h"
#include "mozilla/ipc/InputStreamUtils.h"
#include "mozilla/net/NeckoChild.h"

View file

@ -6,9 +6,11 @@
#include "nsIServiceManager.h"
#include "UDPSocketParent.h"
#include "UDPSocket.h"
#include "nsComponentManagerUtils.h"
#include "nsIUDPSocket.h"
#include "nsINetAddr.h"
#include "nsNetCID.h"
#include "mozilla/AppProcessChecker.h"
#include "mozilla/Unused.h"
#include "mozilla/ipc/InputStreamUtils.h"
@ -17,9 +19,12 @@
#include "mozilla/net/PNeckoParent.h"
#include "nsIPermissionManager.h"
#include "nsIScriptSecurityManager.h"
#include "mozilla/dom/ContentParent.h"
#include "mozilla/ipc/PBackgroundParent.h"
#include "mtransport/runnable_utils.h"
using namespace mozilla::net;
namespace mozilla {
namespace dom {

View file

@ -27,7 +27,7 @@ EXPORTS.mozilla.dom.network += [
'UDPSocketParent.h',
]
UNIFIED_SOURCES += [
SOURCES += [
'Connection.cpp',
'TCPServerSocket.cpp',
'TCPServerSocketChild.cpp',