summaryrefslogtreecommitdiff
path: root/chromium/components/history/core/browser/browsing_history_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/history/core/browser/browsing_history_driver.h')
-rw-r--r--chromium/components/history/core/browser/browsing_history_driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/components/history/core/browser/browsing_history_driver.h b/chromium/components/history/core/browser/browsing_history_driver.h
index 00f651523ae..d783b5f9baa 100644
--- a/chromium/components/history/core/browser/browsing_history_driver.h
+++ b/chromium/components/history/core/browser/browsing_history_driver.h
@@ -26,11 +26,13 @@ class WebHistoryService;
// platform logic and classes, facilitating both sending an receiving data.
class BrowsingHistoryDriver {
public:
+#if !defined(TOOLKIT_QT)
// Callback for QueryHistory().
virtual void OnQueryComplete(
const std::vector<BrowsingHistoryService::HistoryEntry>& results,
const BrowsingHistoryService::QueryResultsInfo& query_results_info,
base::OnceClosure continuation_closure) = 0;
+#endif // !defined(TOOLKIT_QT)
// Callback for RemoveVisits().
virtual void OnRemoveVisitsComplete() = 0;
@@ -62,6 +64,7 @@ class BrowsingHistoryDriver {
// accessible.
virtual WebHistoryService* GetWebHistoryService() = 0;
+#if !defined(TOOLKIT_QT)
// Whether the Clear Browsing Data UI should show a notice about the existence
// of other forms of browsing history stored in user's account. The response
// is returned in a `callback`.
@@ -69,6 +72,7 @@ class BrowsingHistoryDriver {
const syncer::SyncService* sync_service,
WebHistoryService* history_service,
base::OnceCallback<void(bool)> callback) = 0;
+#endif // !defined(TOOLKIT_QT)
protected:
BrowsingHistoryDriver() {}