Chromium Code Reviews| 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..eb7c3a9d2cc02dfb94f7f92cb77bafe5b41a1246 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); |
| + // Show the error dialog when there is problem reading the database. |
|
blundell
2014/06/11 12:21:57
"Notifies the embedder that there was a problem re
方觉(Fang Jue)
2014/06/11 12:33:48
Done.
|
| + // |
| + // Must be called from the main thread. |
| + virtual void NotifyProfileError(sql::InitStatus init_status); |
| + |
| protected: |
| DISALLOW_COPY_AND_ASSIGN(HistoryClient); |
| }; |