| Index: chrome/browser/history/history.h
|
| diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
|
| index 70436cc7808ee9f1e5098745d52e6f18f3ed067a..99af5275927f783b6371fe3930cf08237c1f1be8 100644
|
| --- a/chrome/browser/history/history.h
|
| +++ b/chrome/browser/history/history.h
|
| @@ -552,8 +552,12 @@ class HistoryService : public CancelableRequestProvider,
|
| //
|
| // Calling this function many times may be slow because each call will
|
| // dispatch to the history thread and will be a separate database
|
| - // transaction. If this functionality is needed for importing many URLs, a
|
| - // version that takes an array should probably be added.
|
| + // transaction. If this functionality is needed for importing many URLs,
|
| + // callers should use AddPagesWithDetails() instead.
|
| + //
|
| + // Note that this routine (and AddPageWithDetails()) always adds a single
|
| + // visit using the |last_visit| timestamp, and a PageTransition type of LINK,
|
| + // if |visit_source| != SYNCED.
|
| void AddPageWithDetails(const GURL& url,
|
| const string16& title,
|
| int visit_count,
|
|
|