Chromium Code Reviews| 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 |
|
msramek
2015/09/14 17:28:16
nit: period at the end of sentence
lwchkg
2015/09/15 14:27:08
Acknowledged.
|
| +struct HistoryCountResult { |
| + // Indicates whether the call to HistoryBackend::GetHistoryCount was |
| + // successfull or not. If false, then |count| is undefined. |
|
msramek
2015/09/14 17:28:16
nit: successful
lwchkg
2015/09/15 14:27:08
Acknowledged. Embarassing spelling mistake.
|
| + bool success; |
| + int count; |
| +}; |
| + |
| // Favicons ------------------------------------------------------------------- |
| // Used for the mapping between the page and icon. |