Bug 318057 r=ben bookmarks.html exporter, modifications to importer

Original committer: brettw%gmail.com
Original revision: 1.11
Original date: 2006/04/24 16:40:02
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 18:07:08 +00:00
Родитель 38283f5993
Коммит b103710e8c
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -88,6 +88,16 @@ public:
nsLivemarkService();
nsresult Init();
static nsLivemarkService* GetLivemarkService() {
if (!sInstance) {
nsresult rv;
nsCOMPtr<nsILivemarkService> serv(do_GetService(NS_LIVEMARKSERVICE_CONTRACTID, &rv));
NS_ENSURE_SUCCESS(rv, nsnull);
NS_ASSERTION(sInstance, "Should have static instance pointer now");
}
return sInstance;
}
// These functions are called by the livemarks feed loader
// to set the livemark children.
nsresult DeleteLivemarkChildren(PRInt64 aLivemarkFolderId);