return rv;
nsSpecialSystemDirectory bookmarksFile(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);   bookmarksFile += "res"; bookmarksFile += "rdf"; bookmarksFile += "bookmarks.html";  nsInputFileStream strm(bookmarksFile);  if (! strm.is_open()) { NS_ERROR("unable to open file"); return NS_ERROR_FAILURE; }  BookmarkParser parser; parser.Parse(strm, this); return NS_OK;
BookmarkDataSourceImpl::ReadBookmarks(void){    nsresult rv = NS_ERROR_FAILURE;    PRFileDesc* f;    if ((f = PR_Open(kBookmarksFilename, PR_RDONLY, 0644)) != nsnull) {        BookmarkParser parser;        rv = parser.Parse(f, this);        PR_Close(f);    }    return rv;}