Index: components/history/core/browser/history_client.h |
diff --git a/components/history/core/browser/history_client.h b/components/history/core/browser/history_client.h |
index ae9c19562e2fc0bde101137654331c79a8b88edc..27e04140ee63e662254ff2d4da7f09491b7c2fba 100644 |
--- a/components/history/core/browser/history_client.h |
+++ b/components/history/core/browser/history_client.h |
@@ -20,6 +20,7 @@ namespace history { |
class HistoryBackend; |
class HistoryBackendClient; |
class HistoryDatabase; |
+class HistoryService; |
class ThumbnailDatabase; |
// This class abstracts operations that depend on the embedder's environment, |
@@ -29,6 +30,9 @@ class HistoryClient { |
HistoryClient() {} |
virtual ~HistoryClient() {} |
+ // Called upon HistoryService creation. |
+ virtual void OnHistoryServiceCreated(HistoryService* history_service) = 0; |
+ |
// Called before HistoryService is shutdown. |
virtual void Shutdown() = 0; |