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

Unified Diff: components/ntp_tiles/most_visited_sites.h

Issue 2790463003: ntp_tiles: Cleanup enum names (Closed)
Patch Set: android Created 3 years, 9 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: components/ntp_tiles/most_visited_sites.h
diff --git a/components/ntp_tiles/most_visited_sites.h b/components/ntp_tiles/most_visited_sites.h
index 9942c8ec9a26df317de3201f9a39503afa93c8b5..10473ce688651ba509bd7f8d008dc2c2ad18c15a 100644
--- a/components/ntp_tiles/most_visited_sites.h
+++ b/components/ntp_tiles/most_visited_sites.h
@@ -21,6 +21,7 @@
#include "components/history/core/browser/top_sites_observer.h"
#include "components/ntp_tiles/ntp_tile.h"
#include "components/ntp_tiles/popular_sites.h"
+#include "components/ntp_tiles/tile_source.h"
#include "components/suggestions/proto/suggestions.pb.h"
#include "components/suggestions/suggestions_service.h"
#include "url/gurl.h"
@@ -105,7 +106,7 @@ class MostVisitedSites : public history::TopSitesObserver,
// Returns true if this object was created with a non-null provider for the
// given NTP tile source. That source may or may not actually provide tiles,
// depending on its configuration and the priority of different sources.
- bool DoesSourceExist(NTPTileSource source) const;
+ bool DoesSourceExist(TileSource source) const;
// Returns the corresponding object passed at construction.
history::TopSites* top_sites() { return top_sites_.get(); }
@@ -206,7 +207,7 @@ class MostVisitedSites : public history::TopSitesObserver,
top_sites_observer_;
// The main source of personal tiles - either TOP_SITES or SUGGESTIONS_SEVICE.
- NTPTileSource mv_source_;
+ TileSource mv_source_;
// Current set of tiles. Optional so that the observer can be notified
// whenever it changes, including possibily an initial change from

Powered by Google App Engine
This is Rietveld 408576698