diff options
Diffstat (limited to 'chrome/browser/history/history.h')
-rw-r--r-- | chrome/browser/history/history.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index 3fe34ba..3e604e6 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -212,6 +212,11 @@ class HistoryService : public CancelableRequestProvider, // All AddPage variants end up here. void AddPage(const history::HistoryAddPageArgs& add_page_args); + // Adds an entry for the specified url without creating a visit. This should + // only be used when bookmarking a page, otherwise the row leaks in the + // history db (it never gets cleaned). + void AddPageNoVisitForBookmark(const GURL& url); + // Sets the title for the given page. The page should be in history. If it // is not, this operation is ignored. This call will not update the full // text index. The last title set when the page is indexed will be the |