History-based bookmarks implementation for Places. Bug 314553, r=brettw.
git-svn-id: svn://10.0.0.236/trunk@184796 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "nsForwardProxyDataSource.h"
|
||||
#ifdef MOZ_PLACES
|
||||
#include "nsNavHistory.h"
|
||||
#include "nsNavBookmarks.h"
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
#include "nsWindowsShellService.h"
|
||||
@@ -77,6 +78,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsBookmarksService, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsForwardProxyDataSource, Init)
|
||||
#ifdef MOZ_PLACES
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsNavHistory, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsNavBookmarks, Init)
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowsShellService)
|
||||
@@ -137,6 +139,11 @@ static const nsModuleComponentInfo components[] =
|
||||
NS_NAVHISTORY_CID,
|
||||
"@mozilla.org/autocomplete/search;1?name=history",
|
||||
nsNavHistoryConstructor },
|
||||
|
||||
{ "Browser Bookmarks Service",
|
||||
NS_NAVBOOKMARKSSERVICE_CID,
|
||||
NS_NAVBOOKMARKSSERVICE_CONTRACTID,
|
||||
nsNavBookmarksConstructor },
|
||||
#endif
|
||||
|
||||
{ "Bookmarks",
|
||||
|
||||
Reference in New Issue
Block a user