Chromium Code Reviews| Index: chrome/browser/history/history.h |
| diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h |
| index 3fe34bade187728dba469bf437d3450cc9a849e2..b24d213d0def7d376451a63ba88679dea595d79c 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. Typically |
| + // you'll use one of the AddPage variants. This should only be used in cases |
| + // where you want to force adding an entry with no visits. |
| + void AddPageNoVisit(const GURL& url); |
|
brettw
2010/12/15 17:32:47
Maybe we should call this AddPageNoVisitForBookmar
sky
2010/12/15 18:00:46
Done.
|
| + |
| // 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 |