summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/history/history.cc')
-rw-r--r--chrome/browser/history/history.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc
index 49b76c6..b6c1d0a 100644
--- a/chrome/browser/history/history.cc
+++ b/chrome/browser/history/history.cc
@@ -536,6 +536,15 @@ HistoryService::Handle HistoryService::GetVisitCountToHost(
new history::GetVisitCountToHostRequest(callback), url);
}
+HistoryService::Handle HistoryService::QueryTopURLsAndRedirects(
+ int result_count,
+ CancelableRequestConsumerBase* consumer,
+ QueryTopURLsAndRedirectsCallback* callback) {
+ return Schedule(PRIORITY_NORMAL, &HistoryBackend::QueryTopURLsAndRedirects,
+ consumer, new history::QueryTopURLsAndRedirectsRequest(callback),
+ result_count);
+}
+
void HistoryService::Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details) {