Index: chrome/browser/android/most_visited_sites.h |
diff --git a/chrome/browser/android/most_visited_sites.h b/chrome/browser/android/most_visited_sites.h |
index 4a44b6badbd079d72ef855b09e766dc7bacb729b..c1904f0953d3edf87a6513eb940bf1869db9e4d4 100644 |
--- a/chrome/browser/android/most_visited_sites.h |
+++ b/chrome/browser/android/most_visited_sites.h |
@@ -90,14 +90,16 @@ class MostVisitedSites : public sync_driver::SyncServiceObserver, |
base::string16 title; |
GURL url; |
MostVisitedSource source; |
- // Only valid for source == WHITELIST (empty otherwise). |
+ // Will be empty for entries that do not have a whitelist associated with |
+ // them. |
base::FilePath large_icon_path; |
// Only valid for source == SUGGESTIONS_SERVICE (-1 otherwise). |
int provider_index; |
Suggestion(const base::string16& title, |
const std::string& url, |
- MostVisitedSource source); |
+ MostVisitedSource source, |
+ const base::FilePath& large_icon_path); |
Suggestion(const base::string16& title, |
const GURL& url, |
MostVisitedSource source, |
@@ -108,6 +110,7 @@ class MostVisitedSites : public sync_driver::SyncServiceObserver, |
Suggestion(const base::string16& title, |
const std::string& url, |
MostVisitedSource source, |
+ const base::FilePath& large_icon_path, |
int provider_index); |
~Suggestion(); |
@@ -127,6 +130,9 @@ class MostVisitedSites : public sync_driver::SyncServiceObserver, |
// enabled, or if it returns no data. |
void InitiateTopSitesQuery(); |
+ // If there is a whitelist entry point for the URL return the large icon path |
+ base::FilePath GetWhitelistLargeIconPath(const GURL& url); |
+ |
// Callback for when data is available from TopSites. |
void OnMostVisitedURLsAvailable( |
const history::MostVisitedURLList& visited_list); |