Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: chrome/browser/history/history_types.h

Issue 10115001: Added page score to the ntp suggestions tab. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history_types.h
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
index 30ded6694559fe91dea155180284e4a881543ff9..36b6df96cfb2c4b59251183b469bc360bf082176 100644
--- a/chrome/browser/history/history_types.h
+++ b/chrome/browser/history/history_types.h
@@ -578,6 +578,18 @@ struct MostVisitedURL {
}
};
+// FilteredURL -----------------------------------------------------------------
+
+// Holds the per-URL information of the filterd url query.
+struct FilteredURL {
+ FilteredURL();
+ ~FilteredURL();
+
+ GURL url;
+ string16 title;
+ double score;
+};
+
// Navigation -----------------------------------------------------------------
// Marshalling structure for AddPage.
@@ -621,6 +633,7 @@ class HistoryAddPageArgs
// TopSites -------------------------------------------------------------------
typedef std::vector<MostVisitedURL> MostVisitedURLList;
+typedef std::vector<FilteredURL> FilteredURLList;
// Used by TopSites to store the thumbnails.
struct Images {

Powered by Google App Engine
This is Rietveld 408576698