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

Unified Diff: chrome/browser/history/history_backend.h

Issue 352623002: Port History::QueryMostVisitedURLs to use CancelableTaskTracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index dfc962a1e370a2bf8272403c07df48822dcae6c8..af1324a56efdb7fe97267002954f97f2b18241ab 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -176,10 +176,9 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// Request the |result_count| most visited URLs and the chain of
// redirects leading to each of these URLs. |days_back| is the
// number of days of history to use. Used by TopSites.
- void QueryMostVisitedURLs(
- scoped_refptr<QueryMostVisitedURLsRequest> request,
- int result_count,
- int days_back);
+ void QueryMostVisitedURLs(int result_count,
+ int days_back,
+ MostVisitedURLList* result);
// Request the |result_count| URLs and the chain of redirects
// leading to each of these URLs, filterd and sorted based on the |filter|.
@@ -190,11 +189,6 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
const history::VisitFilter& filter,
bool debug);
- // QueryMostVisitedURLs without the request.
- void QueryMostVisitedURLsImpl(int result_count,
- int days_back,
- MostVisitedURLList* result);
-
// Favicon -------------------------------------------------------------------
void GetFavicons(
« no previous file with comments | « no previous file | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698