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

Unified Diff: chrome/browser/history/chrome_history_client.cc

Issue 2107493002: Offer user to send feedback from profile error dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet more compile errors Created 4 years, 5 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
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..575ecd69bcba2ecd95e666138aeffa69660026c6 100644
--- a/chrome/browser/history/chrome_history_client.cc
+++ b/chrome/browser/history/chrome_history_client.cc
@@ -63,11 +63,14 @@ 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 sql::DatabaseDiagnosticMap& 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>

Powered by Google App Engine
This is Rietveld 408576698