summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/file
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-17 19:37:17 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-17 19:37:17 +0000
commit5f86cd25f2255b6bee1dd77245ea91fe0a2f4bc4 (patch)
tree3f2314dcdfb0051819b724fc2595e05b7bfcc1f0 /netwerk/protocol/file
parent5fa34da0b77476d440eeb52b1258349cfe1c5013 (diff)
downloadUXP-5f86cd25f2255b6bee1dd77245ea91fe0a2f4bc4.tar
UXP-5f86cd25f2255b6bee1dd77245ea91fe0a2f4bc4.tar.gz
UXP-5f86cd25f2255b6bee1dd77245ea91fe0a2f4bc4.tar.lz
UXP-5f86cd25f2255b6bee1dd77245ea91fe0a2f4bc4.tar.xz
UXP-5f86cd25f2255b6bee1dd77245ea91fe0a2f4bc4.zip
Issue #80 - De-unify smaller netwerk/protocol components
- data - device - file - viewsource - wyciwyg
Diffstat (limited to 'netwerk/protocol/file')
-rw-r--r--netwerk/protocol/file/moz.build2
-rw-r--r--netwerk/protocol/file/nsFileProtocolHandler.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/netwerk/protocol/file/moz.build b/netwerk/protocol/file/moz.build
index 223ff2f2b..c6be28ef2 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 e55cb9d47..3896dabad 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()