summaryrefslogtreecommitdiffstats
path: root/netwerk/dns/nsIDNService.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-04 10:20:16 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-04 10:20:16 +0200
commite6d4a8daf3497986d55bd4b4cfd85b11bc5684d1 (patch)
treef271986fed305d4654cc8189dfe2954a5328a3ac /netwerk/dns/nsIDNService.h
parentbbd3b87eb5c2e23549ccccd7e92430d540d1060a (diff)
downloadUXP-e6d4a8daf3497986d55bd4b4cfd85b11bc5684d1.tar
UXP-e6d4a8daf3497986d55bd4b4cfd85b11bc5684d1.tar.gz
UXP-e6d4a8daf3497986d55bd4b4cfd85b11bc5684d1.tar.lz
UXP-e6d4a8daf3497986d55bd4b4cfd85b11bc5684d1.tar.xz
UXP-e6d4a8daf3497986d55bd4b4cfd85b11bc5684d1.zip
Issue #325 Part 1: Remove the legacy non-IDNA2008 code path from nsIDNService.
Diffstat (limited to 'netwerk/dns/nsIDNService.h')
-rw-r--r--netwerk/dns/nsIDNService.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/netwerk/dns/nsIDNService.h b/netwerk/dns/nsIDNService.h
index 19aa94da0..82a05021d 100644
--- a/netwerk/dns/nsIDNService.h
+++ b/netwerk/dns/nsIDNService.h
@@ -12,12 +12,7 @@
#include "nsUnicodeScriptCodes.h"
#include "nsWeakReference.h"
-#ifdef IDNA2008
#include "unicode/uidna.h"
-#else
-#include "nsIUnicodeNormalizer.h"
-#include "nsIDNKitInterface.h"
-#endif
#include "nsString.h"
@@ -151,7 +146,6 @@ private:
bool illegalScriptCombo(mozilla::unicode::Script script,
int32_t& savedScript);
-#ifdef IDNA2008
/**
* Convert a DNS label from ASCII to Unicode using IDNA2008
*/
@@ -164,10 +158,6 @@ private:
stringPrepFlag flag);
UIDNA* mIDNA;
-#else
- idn_nameprep_t mNamePrepHandle;
- nsCOMPtr<nsIUnicodeNormalizer> mNormalizer;
-#endif
nsXPIDLString mIDNBlacklist;
/**