diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-17 19:37:17 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-17 19:37:17 +0000 |
commit | 5f86cd25f2255b6bee1dd77245ea91fe0a2f4bc4 (patch) | |
tree | 3f2314dcdfb0051819b724fc2595e05b7bfcc1f0 /netwerk | |
parent | 5fa34da0b77476d440eeb52b1258349cfe1c5013 (diff) | |
download | uxp-5f86cd25f2255b6bee1dd77245ea91fe0a2f4bc4.tar.gz |
Issue #80 - De-unify smaller netwerk/protocol components
- data
- device
- file
- viewsource
- wyciwyg
Diffstat (limited to 'netwerk')
-rw-r--r-- | netwerk/protocol/data/moz.build | 2 | ||||
-rw-r--r-- | netwerk/protocol/data/nsDataChannel.cpp | 1 | ||||
-rw-r--r-- | netwerk/protocol/device/moz.build | 2 | ||||
-rw-r--r-- | netwerk/protocol/file/moz.build | 2 | ||||
-rw-r--r-- | netwerk/protocol/file/nsFileProtocolHandler.cpp | 2 | ||||
-rw-r--r-- | netwerk/protocol/viewsource/moz.build | 2 | ||||
-rw-r--r-- | netwerk/protocol/wyciwyg/moz.build | 2 |
7 files changed, 8 insertions, 5 deletions
diff --git a/netwerk/protocol/data/moz.build b/netwerk/protocol/data/moz.build index 0958118fa9..2c45b80673 100644 --- a/netwerk/protocol/data/moz.build +++ b/netwerk/protocol/data/moz.build @@ -8,7 +8,7 @@ EXPORTS.mozilla.net += [ 'DataChannelParent.h', ] -UNIFIED_SOURCES += [ +SOURCES += [ 'DataChannelChild.cpp', 'DataChannelParent.cpp', 'nsDataChannel.cpp', diff --git a/netwerk/protocol/data/nsDataChannel.cpp b/netwerk/protocol/data/nsDataChannel.cpp index 608a6c6e0e..148a7901a3 100644 --- a/netwerk/protocol/data/nsDataChannel.cpp +++ b/netwerk/protocol/data/nsDataChannel.cpp @@ -16,6 +16,7 @@ #include "nsEscape.h" using namespace mozilla; +using namespace mozilla::net; nsresult nsDataChannel::OpenContentStream(bool async, nsIInputStream **result, diff --git a/netwerk/protocol/device/moz.build b/netwerk/protocol/device/moz.build index 3bb95930e4..6900e725ae 100644 --- a/netwerk/protocol/device/moz.build +++ b/netwerk/protocol/device/moz.build @@ -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', ] diff --git a/netwerk/protocol/file/moz.build b/netwerk/protocol/file/moz.build index 223ff2f2bd..c6be28ef2f 100644 --- a/netwerk/protocol/file/moz.build +++ b/netwerk/protocol/file/moz.build @@ -15,7 +15,7 @@ XPIDL_SOURCES += [ XPIDL_MODULE = 'necko_file' -UNIFIED_SOURCES += [ +SOURCES += [ 'nsFileChannel.cpp', 'nsFileProtocolHandler.cpp', ] diff --git a/netwerk/protocol/file/nsFileProtocolHandler.cpp b/netwerk/protocol/file/nsFileProtocolHandler.cpp index e55cb9d474..3896dabad1 100644 --- a/netwerk/protocol/file/nsFileProtocolHandler.cpp +++ b/netwerk/protocol/file/nsFileProtocolHandler.cpp @@ -28,6 +28,8 @@ #define DESKTOP_ENTRY_SECTION "Desktop Entry" #endif +using namespace mozilla::net; + //----------------------------------------------------------------------------- nsFileProtocolHandler::nsFileProtocolHandler() diff --git a/netwerk/protocol/viewsource/moz.build b/netwerk/protocol/viewsource/moz.build index 4e3303c407..986ebf14e1 100644 --- a/netwerk/protocol/viewsource/moz.build +++ b/netwerk/protocol/viewsource/moz.build @@ -10,7 +10,7 @@ XPIDL_SOURCES += [ XPIDL_MODULE = 'necko_viewsource' -UNIFIED_SOURCES += [ +SOURCES += [ 'nsViewSourceChannel.cpp', 'nsViewSourceHandler.cpp', ] diff --git a/netwerk/protocol/wyciwyg/moz.build b/netwerk/protocol/wyciwyg/moz.build index b043137f75..e5e02ce98c 100644 --- a/netwerk/protocol/wyciwyg/moz.build +++ b/netwerk/protocol/wyciwyg/moz.build @@ -15,7 +15,7 @@ EXPORTS.mozilla.net += [ 'WyciwygChannelParent.h', ] -UNIFIED_SOURCES += [ +SOURCES += [ 'nsWyciwyg.cpp', 'nsWyciwygChannel.cpp', 'nsWyciwygProtocolHandler.cpp', |