diff options
Diffstat (limited to 'chrome/browser/history/top_sites.cc')
-rw-r--r-- | chrome/browser/history/top_sites.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/history/top_sites.cc b/chrome/browser/history/top_sites.cc index 2825fff..d746e43 100644 --- a/chrome/browser/history/top_sites.cc +++ b/chrome/browser/history/top_sites.cc @@ -669,6 +669,11 @@ void TopSites::StartMigration() { MigratePinnedURLs(); } +bool TopSites::HasBlacklistedItems() const { + AutoLock lock(lock_); + return !blacklist_->empty(); +} + void TopSites::AddBlacklistedURL(const GURL& url) { AutoLock lock(lock_); RemovePinnedURLLocked(url); |