Index: chrome/browser/precache/most_visited_urls_provider.cc |
diff --git a/chrome/browser/precache/most_visited_urls_provider.cc b/chrome/browser/precache/most_visited_urls_provider.cc |
index 37ec55356628f1344267ced456ccdf9dba7337a8..5791d5c3ed00e3144affd56bd51ce9dc9e3255d2 100644 |
--- a/chrome/browser/precache/most_visited_urls_provider.cc |
+++ b/chrome/browser/precache/most_visited_urls_provider.cc |
@@ -7,7 +7,7 @@ |
#include <list> |
#include "base/bind.h" |
-#include "chrome/browser/history/top_sites.h" |
+#include "chrome/browser/history/top_sites_provider.h" |
#include "components/history/core/browser/history_types.h" |
#include "url/gurl.h" |
@@ -32,13 +32,15 @@ void OnMostVisitedURLsReceived( |
namespace precache { |
-MostVisitedURLsProvider::MostVisitedURLsProvider(history::TopSites* top_sites) |
- : top_sites_(top_sites) {} |
+MostVisitedURLsProvider::MostVisitedURLsProvider( |
+ history::TopSitesProvider* top_sites) |
+ : top_sites_provider_(top_sites) { |
+} |
MostVisitedURLsProvider::~MostVisitedURLsProvider() {} |
void MostVisitedURLsProvider::GetURLs(const GetURLsCallback& callback) { |
- top_sites_->GetMostVisitedURLs( |
+ top_sites_provider_->GetMostVisitedURLs( |
base::Bind(&OnMostVisitedURLsReceived, callback), false); |
} |