mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 317839, r=bryner Added places favicon service (defaulted to off along with places)
This commit is contained in:
parent
483a4c0f39
commit
6cb415a868
@ -99,3 +99,9 @@
|
||||
|
||||
#define NS_NAVBOOKMARKSSERVICE_CONTRACTID \
|
||||
"@mozilla.org/browser/nav-bookmarks-service;1"
|
||||
|
||||
#define NS_FAVICONSERVICE_CID \
|
||||
{ 0x984e3259, 0x9266, 0x49cf, { 0xb6, 0x05, 0x60, 0xb0, 0x22, 0xa0, 0x07, 0x56 } }
|
||||
|
||||
#define NS_FAVICONSERVICE_CONTRACTID \
|
||||
"@mozilla.org/browser/favicon-service;1"
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include "nsAnnotationService.h"
|
||||
#include "nsNavHistory.h"
|
||||
#include "nsNavBookmarks.h"
|
||||
#include "nsFaviconService.h"
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
#include "nsWindowsShellService.h"
|
||||
@ -83,6 +84,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsNavHistory, Init)
|
||||
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)
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowsShellService)
|
||||
@ -158,6 +160,11 @@ static const nsModuleComponentInfo components[] =
|
||||
NS_NAVBOOKMARKSSERVICE_CID,
|
||||
NS_NAVBOOKMARKSSERVICE_CONTRACTID,
|
||||
nsNavBookmarksConstructor },
|
||||
|
||||
{ "Favicon Service",
|
||||
NS_FAVICONSERVICE_CID,
|
||||
NS_FAVICONSERVICE_CONTRACTID,
|
||||
nsFaviconServiceConstructor },
|
||||
#endif
|
||||
|
||||
{ "Bookmarks",
|
||||
|
Loading…
Reference in New Issue
Block a user