Index: chrome/browser/history/history.h |
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h |
index 3fe34bade187728dba469bf437d3450cc9a849e2..3e604e68d135e29e367a3f7b359c46a6275c8f11 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 |