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

Unified Diff: components/history/core/browser/top_sites_observer.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
« chrome/test/base/testing_profile.cc ('K') | « chrome/test/base/testing_profile.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/top_sites_observer.h
diff --git a/components/history/core/browser/top_sites_observer.h b/components/history/core/browser/top_sites_observer.h
index 3dde7f2daee37e5d4a5fe1837c5b29b737a6ffe9..85534a49587d2993da9eb3b3ae38979b9a3e50c3 100644
--- a/components/history/core/browser/top_sites_observer.h
+++ b/components/history/core/browser/top_sites_observer.h
@@ -6,17 +6,19 @@
#define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_OBSERVER_H_
namespace history {
-class TopSites;
+class TopSitesProvider;
// Interface for observing notifications from TopSites.
class TopSitesObserver {
public:
// Is called when TopSites finishes loading.
- virtual void TopSitesLoaded(history::TopSites* top_sites) = 0;
+ virtual void TopSitesLoaded(
+ history::TopSitesProvider* top_sites_provider) = 0;
// Is called when either one of the most visited urls
// changed, or one of the images changes.
- virtual void TopSitesChanged(history::TopSites* top_sites) = 0;
+ virtual void TopSitesChanged(
+ history::TopSitesProvider* top_sites_provider) = 0;
};
} // namespace history
« chrome/test/base/testing_profile.cc ('K') | « chrome/test/base/testing_profile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698