summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfiera <sfiera@chromium.org>2016-09-21 09:24:11 (GMT)
committerCommit bot <commit-bot@chromium.org>2016-09-21 09:26:07 (GMT)
commit1dfeab55f101d05538c80cb1b3228dfa14f9db9e (patch)
treee05e3eeaa739c3aa464f4c954e817253c43c60e3
parent3cf2f58b1be6065c5c8264e60d414ec9531a6449 (diff)
downloadchromium-1dfeab55f101d05538c80cb1b3228dfa14f9db9e.tar.gz
chromium-1dfeab55f101d05538c80cb1b3228dfa14f9db9e.tar.xz
Make OnPopularURLsAvailable optional.
This is used by Android to pre-cache icons for the tiles. But that should really be done by MostVisitedSites itself. In the meantime, no point in having iOS implement the method. BUG=631990 Review-Url: https://codereview.chromium.org/2343763002 Cr-Commit-Position: refs/heads/master@{#420019}
-rw-r--r--components/ntp_tiles/most_visited_sites.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/ntp_tiles/most_visited_sites.h b/components/ntp_tiles/most_visited_sites.h
index 449c736..123b705 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() {}