Bug 331510: Adding nsEffectiveTLDService to allow necko and others to know about TLD-like subdomains. r=darin

This commit is contained in:
pamg.bugs@gmail.com
2006-06-09 18:23:10 +00:00
parent 773ac07074
commit 1a338fe639
7 changed files with 732 additions and 0 deletions

View File

@@ -110,6 +110,9 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsSafeFileOutputStream)
NS_GENERIC_AGGREGATED_CONSTRUCTOR_INIT(nsLoadGroup, Init)
#include "nsEffectiveTLDService.h"
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsEffectiveTLDService, Init)
///////////////////////////////////////////////////////////////////////////////
extern NS_METHOD
@@ -639,6 +642,10 @@ static const nsModuleComponentInfo gNetModuleInfo[] = {
NS_IDNSERVICE_CID,
NS_IDNSERVICE_CONTRACTID,
nsIDNServiceConstructor },
{ NS_EFFECTIVETLDSERVICE_CLASSNAME,
NS_EFFECTIVETLDSERVICE_CID,
NS_EFFECTIVETLDSERVICE_CONTRACTID,
nsEffectiveTLDServiceConstructor },
{ NS_SIMPLEURI_CLASSNAME,
NS_SIMPLEURI_CID,
NS_SIMPLEURI_CONTRACTID,