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

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

Issue 9358073: First version of the time slicing on the urls. Not ready for review yet. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added relative time to time slicing Created 8 years, 10 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 | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.h
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index 7f2cf81be1c8f6530c50cc7707abd698ba3aeeee..4d9cce9a2bf51f23904e0eec21cc2affc03e7fe4 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -49,6 +49,7 @@ class HistoryBackend;
class HistoryDatabase;
struct HistoryDetails;
class HistoryQueryTest;
+class TimeFilter;
class URLDatabase;
} // namespace history
@@ -362,6 +363,14 @@ class HistoryService : public CancelableRequestProvider,
CancelableRequestConsumerBase* consumer,
const QueryMostVisitedURLsCallback& callback);
+ // Request the |result_count| most visited URLs during the time peiods
+ // specified in the |filter|.
+ Handle QueryMostVisitedURLsDuringTime(
+ int result_count,
+ const history::TimeFilter& filter,
+ CancelableRequestConsumerBase* consumer,
+ const QueryMostVisitedURLsCallback& callback);
+
// Thumbnails ----------------------------------------------------------------
// Implemented by consumers to get thumbnail data. Called when a request for
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698