mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Issue #80 - De-unify dom/network
This commit is contained in:
parent
e4f5cc83b6
commit
2970ae4c3e
7 changed files with 17 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
#include "nsINetAddr.h"
|
||||
#include "nsStringStream.h"
|
||||
|
||||
using namespace mozilla::net;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ EXPORTS.mozilla.dom.network += [
|
|||
'UDPSocketParent.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'Connection.cpp',
|
||||
'TCPServerSocket.cpp',
|
||||
'TCPServerSocketChild.cpp',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue