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..bc3d2150a1bda977cad70dc2c427d46c39c20441 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 |
+ // successful or not. If false, then |count| is undefined. |
+ bool success; |
+ int count; |
+}; |
+ |
// Favicons ------------------------------------------------------------------- |
// Used for the mapping between the page and icon. |