Index: chrome/browser/history/chrome_history_client.cc |
diff --git a/chrome/browser/history/chrome_history_client.cc b/chrome/browser/history/chrome_history_client.cc |
index 32cafc198fdb48baeacf4bb769d78e7cb538c778..378853dfb3d289c6f13489385efcfdcc48dbecf3 100644 |
--- a/chrome/browser/history/chrome_history_client.cc |
+++ b/chrome/browser/history/chrome_history_client.cc |
@@ -63,11 +63,13 @@ bool ChromeHistoryClient::CanAddURL(const GURL& url) { |
return CanAddURLToHistory(url); |
} |
-void ChromeHistoryClient::NotifyProfileError(sql::InitStatus init_status) { |
- ShowProfileErrorDialog( |
- PROFILE_ERROR_HISTORY, |
- (init_status == sql::INIT_FAILURE) ? |
- IDS_COULDNT_OPEN_PROFILE_ERROR : IDS_PROFILE_TOO_NEW_ERROR); |
+void ChromeHistoryClient::NotifyProfileError(sql::InitStatus init_status, |
+ const std::string& diagnostics) { |
+ ShowProfileErrorDialog(PROFILE_ERROR_HISTORY, |
+ (init_status == sql::INIT_FAILURE) |
+ ? IDS_COULDNT_OPEN_PROFILE_ERROR |
+ : IDS_PROFILE_TOO_NEW_ERROR, |
+ diagnostics); |
} |
std::unique_ptr<history::HistoryBackendClient> |