Bug 402611: Deal with changes to the safebrowsing v2 protocol. r=tony, a1.9=beltzner

git-svn-id: svn://10.0.0.236/trunk@244382 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcamp%mozilla.com
2008-01-29 20:57:20 +00:00
parent e267c8e74b
commit 2b4da8abaf
24 changed files with 2475 additions and 704 deletions

View File

@@ -58,6 +58,7 @@
#include "nsUrlClassifierDBService.h"
#include "nsUrlClassifierStreamUpdater.h"
#include "nsUrlClassifierUtils.h"
#include "nsUrlClassifierHashCompleter.h"
#include "nsDocShellCID.h"
#endif
@@ -88,6 +89,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsTypeAheadFind)
#ifdef MOZ_URL_CLASSIFIER
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUrlClassifierStreamUpdater)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsUrlClassifierUtils, Init)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsUrlClassifierHashCompleter, Init)
static NS_IMETHODIMP
nsUrlClassifierDBServiceConstructor(nsISupports *aOuter, REFNSIID aIID,
@@ -167,6 +169,10 @@ static const nsModuleComponentInfo components[] =
NS_URLCLASSIFIERUTILS_CID,
NS_URLCLASSIFIERUTILS_CONTRACTID,
nsUrlClassifierUtilsConstructor },
{ "Url Classifier Hash Completer",
NS_URLCLASSIFIERHASHCOMPLETER_CID,
NS_URLCLASSIFIERHASHCOMPLETER_CONTRACTID,
nsUrlClassifierHashCompleterConstructor },
#endif
#ifdef MOZ_FEEDS
{ "Unescape HTML",