Readonly
DBConnectionReadonly
connectionHook for internal clients who need to perform actions just before the connection gets closed. May be null if it's too late to get one.
Readonly
databaseReturns the current database status
Readonly
historyTrue if history is disabled. currently, history is disabled if the places.history.enabled pref is false.
Whether frecency is in the process of being decayed. The value can also be read through the is_frecency_decaying() SQL function exposed by Places database connections.
This is set to true when a frecency is invalidated and set back to false when all the outdated values have been recalculated.
Readonly
shutdownHook for clients who need to perform actions during/by the end of the shutdown of the database. May be null if it's too late to get one.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Asynchronously executes the statement created from a query.
nsINavHistoryService::executeQuery
THIS IS A TEMPORARY API. Don't rely on it, since it will be replaced in future versions by a real async querying API.
Results obtained from this method differ from results obtained from executeQuery, because there is additional filtering and sorting done by the latter. Thus you should use executeQuery, unless you are absolutely sure that the returned results are fine for your use-case.
Returns true if this URI would be added to the history. You don't have to worry about calling this, adding a visit will always check before actually adding the page. This function is public because some components may want to check if this page would go in the history (i.e. for annotations).
This is just like markPageAsTyped (in nsIBrowserHistory, also implemented by the history service), but for bookmarks. It declares that the given URI is being opened as a result of following a bookmark. If this URI is loaded soon after this message has been received, that transition will be marked as following a bookmark.
Generated using TypeDoc
The database connection used by Places.