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

Unified Diff: components/history/core/browser/top_sites_impl.h

Issue 2567043002: Cleanup: Remove unused SearchTabHelper::GetOpenUrls (Closed)
Patch Set: msw nits Created 4 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
Index: components/history/core/browser/top_sites_impl.h
diff --git a/components/history/core/browser/top_sites_impl.h b/components/history/core/browser/top_sites_impl.h
index 338c2a5e3fab4a5eafe22bc312c56b4789551035..c83cb0a883a3ed75a6de3615bb0d6a1905c9bc9e 100644
--- a/components/history/core/browser/top_sites_impl.h
+++ b/components/history/core/browser/top_sites_impl.h
@@ -73,9 +73,6 @@ class TopSitesImpl : public TopSites, public HistoryServiceObserver {
bool SetPageThumbnail(const GURL& url,
const gfx::Image& thumbnail,
const ThumbnailScore& score) override;
- bool SetPageThumbnailToJPEGBytes(const GURL& url,
- const base::RefCountedMemory* memory,
- const ThumbnailScore& score) override;
void GetMostVisitedURLs(const GetMostVisitedURLsCallback& callback,
bool include_forced_urls) override;
bool GetPageThumbnail(const GURL& url,
@@ -90,9 +87,7 @@ class TopSitesImpl : public TopSites, public HistoryServiceObserver {
void RemoveBlacklistedURL(const GURL& url) override;
bool IsBlacklisted(const GURL& url) override;
void ClearBlacklistedURLs() override;
- base::CancelableTaskTracker::TaskId StartQueryForMostVisited() override;
bool IsKnownURL(const GURL& url) override;
- const std::string& GetCanonicalURLString(const GURL& url) const override;
bool IsNonForcedFull() override;
bool IsForcedFull() override;
PrepopulatedPageList GetPrepopulatedPages() override;
@@ -137,6 +132,8 @@ class TopSitesImpl : public TopSites, public HistoryServiceObserver {
typedef std::list<TempImage> TempImages;
typedef std::vector<PendingCallback> PendingCallbacks;
+ void StartQueryForMostVisited();
+
// Generates the diff of things that happened between "old" and "new."
//
// This treats forced URLs separately than non-forced URLs.

Powered by Google App Engine
This is Rietveld 408576698