Index: chrome/browser/ui/webui/history_ui.h |
diff --git a/chrome/browser/ui/webui/history_ui.h b/chrome/browser/ui/webui/history_ui.h |
index 5e1911b3c8f3f91c4ddd436c8baf7d17fe53c797..6412be53096626703890368cf1611292860fd459 100644 |
--- a/chrome/browser/ui/webui/history_ui.h |
+++ b/chrome/browser/ui/webui/history_ui.h |
@@ -11,6 +11,7 @@ |
#include "base/string16.h" |
#include "chrome/browser/cancelable_request.h" |
#include "chrome/browser/history/history.h" |
+#include "chrome/browser/history/web_history_service.h" |
#include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/web_ui_controller.h" |
@@ -47,10 +48,17 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler, |
const content::NotificationDetails& details) OVERRIDE; |
private: |
+ // Helper used by handlers getHistory and searchHistory. |
+ void QueryHistory(const string16& text_query, |
+ const history::QueryOptions& options); |
+ |
// Callback from the history system when the history list is available. |
void QueryComplete(HistoryService::Handle request_handle, |
history::QueryResults* results); |
+ // Callback from the WebHistory service with results from Web History. |
+ void WebHistoryQueryComplete(); |
+ |
// Callback from the history system when visits were deleted. |
void RemoveComplete(); |