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

Unified Diff: chrome/browser/precache/most_visited_urls_provider.h

Issue 815983002: Topsites become keyedService based. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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/precache/most_visited_urls_provider.h
diff --git a/chrome/browser/precache/most_visited_urls_provider.h b/chrome/browser/precache/most_visited_urls_provider.h
index 253181cdb3b21c2a7a7ee9d83a0fdba826468d72..368e3800a7cf1667915a0cba8592f698e779801a 100644
--- a/chrome/browser/precache/most_visited_urls_provider.h
+++ b/chrome/browser/precache/most_visited_urls_provider.h
@@ -11,7 +11,7 @@
#include "components/precache/core/url_list_provider.h"
namespace history {
-class TopSites;
+class TopSitesProvider;
}
namespace precache {
@@ -19,7 +19,7 @@ namespace precache {
// A URLListProvider that provides a list of the user's most visited URLs.
class MostVisitedURLsProvider : public URLListProvider {
public:
- explicit MostVisitedURLsProvider(history::TopSites* top_sites);
+ explicit MostVisitedURLsProvider(history::TopSitesProvider* top_sites);
~MostVisitedURLsProvider();
// Returns a list of the user's most visited URLs via a callback. May be
@@ -28,7 +28,7 @@ class MostVisitedURLsProvider : public URLListProvider {
void GetURLs(const GetURLsCallback& callback) override;
private:
- scoped_refptr<history::TopSites> top_sites_;
+ scoped_refptr<history::TopSitesProvider> top_sites_provider_;
DISALLOW_COPY_AND_ASSIGN(MostVisitedURLsProvider);
};

Powered by Google App Engine
This is Rietveld 408576698