Issue #80 - De-unify smaller netwerk/protocol components

- data
- device
- file
- viewsource
- wyciwyg
This commit is contained in:
Moonchild 2020-05-17 19:37:17 +00:00 committed by Roy Tam
commit 911270ea60
7 changed files with 8 additions and 5 deletions

View file

@ -8,7 +8,7 @@ EXPORTS.mozilla.net += [
'DataChannelParent.h',
]
UNIFIED_SOURCES += [
SOURCES += [
'DataChannelChild.cpp',
'DataChannelParent.cpp',
'nsDataChannel.cpp',

View file

@ -16,6 +16,7 @@
#include "nsEscape.h"
using namespace mozilla;
using namespace mozilla::net;
nsresult
nsDataChannel::OpenContentStream(bool async, nsIInputStream **result,

View file

@ -4,7 +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/.
UNIFIED_SOURCES += [
SOURCES += [
'nsDeviceChannel.cpp',
'nsDeviceProtocolHandler.cpp',
]

View file

@ -15,7 +15,7 @@ XPIDL_SOURCES += [
XPIDL_MODULE = 'necko_file'
UNIFIED_SOURCES += [
SOURCES += [
'nsFileChannel.cpp',
'nsFileProtocolHandler.cpp',
]

View file

@ -28,6 +28,8 @@
#define DESKTOP_ENTRY_SECTION "Desktop Entry"
#endif
using namespace mozilla::net;
//-----------------------------------------------------------------------------
nsFileProtocolHandler::nsFileProtocolHandler()

View file

@ -10,7 +10,7 @@ XPIDL_SOURCES += [
XPIDL_MODULE = 'necko_viewsource'
UNIFIED_SOURCES += [
SOURCES += [
'nsViewSourceChannel.cpp',
'nsViewSourceHandler.cpp',
]

View file

@ -15,7 +15,7 @@ EXPORTS.mozilla.net += [
'WyciwygChannelParent.h',
]
UNIFIED_SOURCES += [
SOURCES += [
'nsWyciwyg.cpp',
'nsWyciwygChannel.cpp',
'nsWyciwygProtocolHandler.cpp',