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

Unified Diff: chrome/browser/history/history_extension_api.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_backend.cc ('k') | chrome/browser/history/history_extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_extension_api.h
diff --git a/chrome/browser/history/history_extension_api.h b/chrome/browser/history/history_extension_api.h
index e66ea76882ed063d6a6119c07cd09246fffe799f..bd29602d4782c9cf7af9fd5f31d140dcf5366c18 100644
--- a/chrome/browser/history/history_extension_api.h
+++ b/chrome/browser/history/history_extension_api.h
@@ -83,6 +83,16 @@ class HistoryFunctionWithCallback : public HistoryFunction {
void SendResponseToCallback();
};
+class GetMostVisitedHistoryFunction : public HistoryFunctionWithCallback {
+ public:
+ virtual bool RunAsyncImpl() OVERRIDE;
+ DECLARE_EXTENSION_FUNCTION_NAME("history.getMostVisited");
+
+ // Callback for the history function to provide results.
+ void QueryComplete(CancelableRequestProvider::Handle handle,
+ history::MostVisitedURLList data);
+};
+
class GetVisitsHistoryFunction : public HistoryFunctionWithCallback {
public:
// Override HistoryFunction.
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698