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 370d723392b5b90e232d37ec15fd97eed74956b1..d60a852f46dc5507d3921c6bee5951f2c37bce85 100644 |
--- a/components/history/core/browser/history_client.h |
+++ b/components/history/core/browser/history_client.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/strings/string16.h" |
#include "components/keyed_service/core/keyed_service.h" |
+#include "sql/init_status.h" |
#include "url/gurl.h" |
namespace history { |
@@ -43,6 +44,11 @@ class HistoryClient : public KeyedService { |
// If not on the main thread, then BlockUntilBookmarksLoaded must be called. |
virtual void GetBookmarks(std::vector<URLAndTitle>* bookmarks); |
+ // Notifies the embedder that there was a problem reading the database. |
+ // |
+ // Must be called from the main thread. |
+ virtual void NotifyProfileError(sql::InitStatus init_status); |
+ |
protected: |
DISALLOW_COPY_AND_ASSIGN(HistoryClient); |
}; |