mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
Adding empty IDN implementation to make actual implementation done easily,
bug 112979, r=shanjian, sr=darin.
This commit is contained in:
parent
72d7f9c27c
commit
3a31c30b0d
@ -398,9 +398,17 @@
|
||||
* netwerk/dns/ classes
|
||||
*/
|
||||
|
||||
#define NS_IDNSERVICE_CLASSNAME \
|
||||
"nsIDNService"
|
||||
/* ContractID of the XPCOM package that implements nsIIDNService */
|
||||
#define NS_IDNSERVICE_CONTRACTID \
|
||||
"@i-dns.net/IDNService;1"
|
||||
|
||||
"@mozilla.org/network/idn-service;1"
|
||||
#define NS_IDNSERVICE_CID \
|
||||
{ /* 62b778a6-bce3-456b-8c31-2865fbb68c91 */ \
|
||||
0x62b778a6, \
|
||||
0xbce3, \
|
||||
0x456b, \
|
||||
{0x8c, 0x31, 0x28, 0x65, 0xfb, 0xb6, 0x8c, 0x91} \
|
||||
}
|
||||
|
||||
#endif // nsNetCID_h__
|
||||
|
@ -148,6 +148,11 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsResumableEntityID)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "nsIDNService.h"
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsIDNService)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "nsFileChannel.h"
|
||||
#include "nsFileProtocolHandler.h"
|
||||
#include "nsDataHandler.h"
|
||||
@ -516,6 +521,10 @@ static const nsModuleComponentInfo gNetModuleInfo[] = {
|
||||
NS_DNSSERVICE_CID,
|
||||
"@mozilla.org/network/dns-service;1",
|
||||
nsDNSService::Create },
|
||||
{ NS_IDNSERVICE_CLASSNAME,
|
||||
NS_IDNSERVICE_CID,
|
||||
NS_IDNSERVICE_CONTRACTID,
|
||||
nsIDNServiceConstructor },
|
||||
{ NS_SIMPLEURI_CLASSNAME,
|
||||
NS_SIMPLEURI_CID,
|
||||
NS_SIMPLEURI_CONTRACTID,
|
||||
|
@ -33,7 +33,8 @@ REQUIRES = xpcom \
|
||||
pref \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = nsDnsService.cpp
|
||||
CPPSRCS = nsDnsService.cpp \
|
||||
nsIDNService.cpp
|
||||
|
||||
|
||||
# we don't want the shared lib, but we want to force the creation of a
|
||||
|
@ -1709,6 +1709,13 @@
|
||||
<FILEKIND>Text</FILEKIND>
|
||||
<FILEFLAGS>Debug</FILEFLAGS>
|
||||
</FILE>
|
||||
<FILE>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
<FILEKIND>Text</FILEKIND>
|
||||
<FILEFLAGS>Debug</FILEFLAGS>
|
||||
</FILE>
|
||||
</FILELIST>
|
||||
<LINKORDER>
|
||||
<FILEREF>
|
||||
@ -2241,6 +2248,11 @@
|
||||
<PATH>nsMemoryCacheDevice.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
<FILEREF>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
</LINKORDER>
|
||||
</TARGET>
|
||||
<TARGET>
|
||||
@ -3899,6 +3911,13 @@
|
||||
<FILEKIND>Text</FILEKIND>
|
||||
<FILEFLAGS>Debug</FILEFLAGS>
|
||||
</FILE>
|
||||
<FILE>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
<FILEKIND>Text</FILEKIND>
|
||||
<FILEFLAGS>Debug</FILEFLAGS>
|
||||
</FILE>
|
||||
</FILELIST>
|
||||
<LINKORDER>
|
||||
<FILEREF>
|
||||
@ -4431,6 +4450,11 @@
|
||||
<PATH>nsMemoryCacheDevice.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
<FILEREF>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
</LINKORDER>
|
||||
</TARGET>
|
||||
<TARGET>
|
||||
@ -6075,6 +6099,13 @@
|
||||
<FILEKIND>Text</FILEKIND>
|
||||
<FILEFLAGS>Debug</FILEFLAGS>
|
||||
</FILE>
|
||||
<FILE>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
<FILEKIND>Text</FILEKIND>
|
||||
<FILEFLAGS>Debug</FILEFLAGS>
|
||||
</FILE>
|
||||
</FILELIST>
|
||||
<LINKORDER>
|
||||
<FILEREF>
|
||||
@ -6597,6 +6628,11 @@
|
||||
<PATH>nsMemoryCacheDevice.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
<FILEREF>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
</LINKORDER>
|
||||
</TARGET>
|
||||
<TARGET>
|
||||
@ -8241,6 +8277,13 @@
|
||||
<FILEKIND>Text</FILEKIND>
|
||||
<FILEFLAGS>Debug</FILEFLAGS>
|
||||
</FILE>
|
||||
<FILE>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
<FILEKIND>Text</FILEKIND>
|
||||
<FILEFLAGS>Debug</FILEFLAGS>
|
||||
</FILE>
|
||||
</FILELIST>
|
||||
<LINKORDER>
|
||||
<FILEREF>
|
||||
@ -8763,6 +8806,11 @@
|
||||
<PATH>nsMemoryCacheDevice.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
<FILEREF>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
</LINKORDER>
|
||||
</TARGET>
|
||||
</TARGETLIST>
|
||||
@ -8984,6 +9032,12 @@
|
||||
<PATH>nsDnsService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
<FILEREF>
|
||||
<TARGETNAME>Necko.shlb</TARGETNAME>
|
||||
<PATHTYPE>Name</PATHTYPE>
|
||||
<PATH>nsIDNService.cpp</PATH>
|
||||
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||
</FILEREF>
|
||||
</GROUP>
|
||||
<GROUP><NAME>mime</NAME>
|
||||
<FILEREF>
|
||||
|
Loading…
x
Reference in New Issue
Block a user