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

Unified Diff: components/ntp_tiles/most_visited_sites.h

Issue 2343763002: Make OnPopularURLsAvailable optional. (Closed)
Patch Set: Put in header. Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 449c7362528cc2b83d0b6393de6a43dcff1c477a..123b705c6966ce165d53f52d85f134364cf9a5cb 100644
--- a/components/ntp_tiles/most_visited_sites.h
+++ b/components/ntp_tiles/most_visited_sites.h
@@ -105,7 +105,7 @@ class MostVisitedSites : public history::TopSitesObserver,
class Observer {
public:
virtual void OnMostVisitedURLsAvailable(const NTPTilesVector& tiles) = 0;
- virtual void OnPopularURLsAvailable(const PopularSitesVector& sites) = 0;
+ virtual void OnPopularURLsAvailable(const PopularSitesVector& sites) {}
protected:
virtual ~Observer() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698