Index: chrome/browser/history/history_types.h |
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h |
index 050e528eadf8e84b6ea469ff2a5146251189451f..b29588d2f76193f0cc03fd72f66aa3c5c0389088 100644 |
--- a/chrome/browser/history/history_types.h |
+++ b/chrome/browser/history/history_types.h |
@@ -24,6 +24,8 @@ |
#include "content/public/common/page_transition_types.h" |
#include "googleurl/src/gurl.h" |
+class PageUsageData; |
+ |
namespace history { |
// Forward declaration for friend statements. |
@@ -591,6 +593,19 @@ struct MostVisitedURL { |
} |
}; |
+// FilteredURL ----------------------------------------------------------------- |
+ |
+// Holds the per-URL information of the filterd url query. |
+struct FilteredURL { |
+ FilteredURL(); |
+ explicit FilteredURL(const PageUsageData& data); |
+ ~FilteredURL(); |
+ |
+ GURL url; |
+ string16 title; |
+ double score; |
+}; |
+ |
// Navigation ----------------------------------------------------------------- |
// Marshalling structure for AddPage. |
@@ -634,6 +649,7 @@ class HistoryAddPageArgs |
// TopSites ------------------------------------------------------------------- |
typedef std::vector<MostVisitedURL> MostVisitedURLList; |
+typedef std::vector<FilteredURL> FilteredURLList; |
// Used by TopSites to store the thumbnails. |
struct Images { |