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

Unified Diff: chrome/browser/history/history_backend.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/history/history.cc ('k') | 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 0f94c2a910bd46cc352a076663671358f7721108..0dbfb19f5804b9fbe222ec3422f5623056373b4a 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -34,6 +34,7 @@ namespace history {
class CommitLaterTask;
class HistoryPublisher;
+class TimeFilter;
// *See the .cc file for more information on the design.*
//
@@ -173,6 +174,14 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
int result_count,
int days_back);
+ // Request the |result_count| most visited URLs and the chain of redirects
+ // leading to each of these URLs, during the time peiods specified in the
+ // |filter|.
+ void QueryMostVisitedURLsDuringTime(
+ scoped_refptr<QueryMostVisitedURLsRequest> request,
+ int result_count,
+ const history::TimeFilter& filter);
+
// QueryMostVisitedURLs without the request.
void QueryMostVisitedURLsImpl(int result_count,
int days_back,
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698