| Index: components/history/core/browser/history_types.h
|
| diff --git a/components/history/core/browser/history_types.h b/components/history/core/browser/history_types.h
|
| index 3eadbca247dfb807fcec75f1947b819c78a3f1b6..c1cab81cf35da03ebad9c5f6618e257cc5a70531 100644
|
| --- a/components/history/core/browser/history_types.h
|
| +++ b/components/history/core/browser/history_types.h
|
| @@ -452,6 +452,17 @@ class MostVisitedThumbnails
|
| // Map from host to visit count, sorted by visit count descending.
|
| typedef std::vector<std::pair<std::string, int>> TopHostsList;
|
|
|
| +// Statistics -----------------------------------------------------------------
|
| +
|
| +// HistoryCountResult encapsulates the result of a call to
|
| +// HistoryBackend::GetHistoryCount
|
| +struct HistoryCountResult {
|
| + // Indicates whether the call to HistoryBackend::GetHistoryCount was
|
| + // successfull or not. If false, then |count| is undefined.
|
| + bool success;
|
| + int count;
|
| +};
|
| +
|
| // Favicons -------------------------------------------------------------------
|
|
|
| // Used for the mapping between the page and icon.
|
|
|