Added nsIBookmarksContainer interface which allows custom bookmarks types.
Implemented nsILivemarksService as a nsIBookmarksContainer. bug=317837 r=beng sr=bryner
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include "nsNavHistory.h"
|
||||
#include "nsNavBookmarks.h"
|
||||
#include "nsFaviconService.h"
|
||||
#include "nsLivemarkService.h"
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
#include "nsWindowsShellService.h"
|
||||
@@ -85,6 +86,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsAnnoProtocolHandler)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsAnnotationService, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsNavBookmarks, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsFaviconService, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsLivemarkService, Init)
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowsShellService)
|
||||
@@ -165,6 +167,11 @@ static const nsModuleComponentInfo components[] =
|
||||
NS_FAVICONSERVICE_CID,
|
||||
NS_FAVICONSERVICE_CONTRACTID,
|
||||
nsFaviconServiceConstructor },
|
||||
|
||||
{ "Livemark Service",
|
||||
NS_LIVEMARKSERVICE_CID,
|
||||
NS_LIVEMARKSERVICE_CONTRACTID,
|
||||
nsLivemarkServiceConstructor },
|
||||
#endif
|
||||
|
||||
{ "Bookmarks",
|
||||
|
||||
Reference in New Issue
Block a user