Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: components/history/core/browser/history_client.h

Issue 322113002: Move HistoryService::NotifyProfileError to HistoryClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/history/DEPS ('k') | components/history/core/browser/history_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « components/history/DEPS ('k') | components/history/core/browser/history_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698